RH 8
[EMAIL PROTECTED] steve]$ uname -a
Linux localhost.localdomain 2.4.20-28.8 #1 Thu Dec 18 12:53:39 EST 2003 i686 i686 i386 GNU/Linux
[EMAIL PROTECTED] steve]$ gcc --version
gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
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.


[EMAIL PROTECTED] steve]$ echo 'int main(void) { printf("%c","msux"[0xcafebabe]); }'> ./gcc-crash.c
[EMAIL PROTECTED] steve]$ cat ./gcc-crash.c
int main(void) { printf("%c","msux"[0xcafebabe]); }
[EMAIL PROTECTED] steve]$ gcc ./gcc-crash.c
[EMAIL PROTECTED] steve]$ ls -alrt ./a.out
-rwxrwxr-x 1 steve steve 9882 Jan 8 22:41 ./a.out
[EMAIL PROTECTED] steve]$ ./a.out
Segmentation fault









_______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html

Reply via email to