[Bug libstdc++/53242] Invalid write in push_back
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat May 5 00:33:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53242
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-05-05 00:33:21 UTC ---
44 buckets[ bucket_num ].push_back( x[elem] );
(gdb) p bucket_num
$1 = 7
(gdb) p num_buckets
$2 = 4
So you are accessing past the bounds of buckets.
More information about the Gcc-bugs
mailing list