[<prev] [next>] [day] [month] [year] [list]
Message-ID: <09391A3F3BB80B4983CB5FB16B6E952F11D4A48D@F9620W1R.service.itellium.net>
Date: Tue, 16 Jan 2007 11:52:36 +0100
From: "Gwiasda Patrick" <patrick.gwiasda@...llium.com>
To: <full-disclosure@...ts.grok.org.uk>
Subject: Re: Major gcc 4.1.1 and up security issue
Hi,
this looks strange.
I have made a test with gcc 4.03. The assertation was thrown correctly.
So, is this only with gcc > 4.1?
It seems that the interpretation of the standard was in gcc 4.03
"better".
~$ ./a.out
200 100
a.out: test.c:5: foo: Assertion `(int)(a+100) > 0' failed.
Aborted
kt1360@...006ru:~$ gcc --version
gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
Copyright (C) 2006 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.
Regards
Patrick
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
Powered by blists - more mailing lists