diff options
author | Paolo Carlini <pcarlini@suse.de> | 2004-10-21 14:53:02 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2004-10-21 14:53:02 +0000 |
commit | 996e539545fa047c2df21645768d40cb67f50acf (patch) | |
tree | 29f654e743ccdc49ae3d5ac87f9a553d8351ef6e /libjava/java/beans/EventHandler.java | |
parent | d600a3a435e1a8556480916886e895cbc5ead8dd (diff) | |
download | gcc-996e539545fa047c2df21645768d40cb67f50acf.zip gcc-996e539545fa047c2df21645768d40cb67f50acf.tar.gz gcc-996e539545fa047c2df21645768d40cb67f50acf.tar.bz2 |
vector.tcc (_M_insert_aux, [...]): Check at the outset that we are not trying to exceed max_size...
2004-10-21 Paolo Carlini <pcarlini@suse.de>
Dhruv Matani <dhruvbird@gmx.net>
Nathan Myers <ncm@cantrip.org>
* include/bits/vector.tcc (_M_insert_aux, _M_fill_insert,
_M_range_insert): Check at the outset that we are not trying
to exceed max_size, then deal properly with __len overflows.
* testsuite/23_containers/vector/modifiers/insert/1.cc: New.
* testsuite/testsuite_allocator.h: Remove redundant include.
Co-Authored-By: Dhruv Matani <dhruvbird@gmx.net>
Co-Authored-By: Nathan Myers <ncm@cantrip.org>
From-SVN: r89377
Diffstat (limited to 'libjava/java/beans/EventHandler.java')
0 files changed, 0 insertions, 0 deletions