--- Comment #6 from pinskia at gcc dot gnu dot org 2006-04-28 19:06 ---
Small testcase:
char a[] = "tree.h";
char b[] = "treelang";
int main(void)
{
return memcmp (a, b, strlen(b)) != 0;
}
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|-00-00 00:00:00 |2006-04-28 19:06:46
date||
Summary|memcmp reads past end of|mudflap produces a bogus
|strings in gengtype |error with memcmp that goes
||over the size
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27348