[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20040109132638.00002f81@stormbringer>
From: cat at final-frontier.ath.cx (Dennis Freise)
Subject: gcc: Internal compiler error: program cc1 got
fatal signal 11
On Thu, 08 Jan 2004 19:43:24 -0500
Noldata TAC <tac@...data.com> wrote:
> You must execute it:
>
> glozano@...ssom:~$ more a.c
> int main(void)
> {
> printf("%c","msux"[0xcafebabe]);
> }
> glozano@...ssom:~$ make a
> cc a.c -o a
> glozano@...ssom:~$ ./a
> Segmentation fault
That code MUST segfault everywere! Look at it: It passes the 0xcafebabe'nd
(3405691582'nd) byte of "msux" to printf. I'm pretty sure that's out of bounds
of the five bytes of "msux\0".
Only were the COMPILER segfaults it is not like it should be.
Please don't post any more segfaults of the resulting binary - it proves
_nothing_.
--
Dennis Freise <cat@...al-frontier.ath.cx>
GnuPG key fingerprint: 2DE8 CCEF 6E20 11D4 3B27 21EC B0BA 1749 D2C8 38ED
Get my public key at : http://www.final-frontier.ath.cx/gpg_public_key.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.grok.org.uk/pipermail/full-disclosure/attachments/20040109/27a7d56e/attachment.bin
Powered by blists - more mailing lists