On 08/21/2018 10:55 PM, Xi Ruoyao wrote:
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.
Agree. C has both signed char (default) and unsigned char. Should have
been byte, but oh well.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page