lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
From: luke at normanonline.co.uk (Luke Norman)
Subject: gcc: Internal compiler error: program cc1 got
 fatal signal 11

Dan Wilder wrote:

>You don't need the printf.
>
>$ gcc --version
>2.95.4
>$ cat gcc-crash.c
>int main(void)
>{
>char a = "msux"[0xcafebabe];
>}
>$ gcc gcc-crash.c
>gcc: Internal compiler error: program cc1 got fatal signal 11
>
>  
>
$ gcc --version
gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ cat gcc-crash.c
int main(void)
{
printf("%c","msux"[0xcafebabe]);
}
$ gcc gcc-crash.c
$ ./a.out
Segmentation fault



Powered by blists - more mailing lists