This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/59391] std::sort will go out of std::vector bounds and crash
- From: "awwafa at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 04 Dec 2013 22:30:58 +0000
- Subject: [Bug libstdc++/59391] std::sort will go out of std::vector bounds and crash
- Auto-submitted: auto-generated
- References: <bug-59391-4 at http dot gcc dot gnu dot org/bugzilla/>
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};