[Bug libstdc++/59391] std::sort will go out of std::vector bounds and crash

awwafa at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Dec 4 22:31:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59391

--- Comment #1 from Ahmed Wafa <awwafa at gmail dot com> ---
// The following is shortest array that will reproduce that problem
const int int_array[] = {1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2};



More information about the Gcc-bugs mailing list