On 2018-08-21 17:00 +0100, Ken Moffat wrote:
> libX11-1.6.6 :
>
> https://lists.x.org/archives/xorg-announce/2018-August/002915.html
>
> CVE-2018-14596..600
>
> I think x86 treats char as unsigned, in which case 14600 would not
> apply.
No.
> $ cat test.c
> #include <stdio.h>
>
> int main()
> {
> char x = -1;
> unsigned char y = -1;
> printf("%d %d\n", (int)x, (int)y);
> return 0;
> }
> $ cc test.c
> $ ./a.out
> -1 255
So 14600 should apply.
--
Xi Ruoyao <[email protected]>
School of Aerospace Science and Technology, Xidian University
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page