diff options
author | fw <fw@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-05 17:48:46 +0000 |
---|---|---|
committer | fw <fw@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-05 17:48:46 +0000 |
commit | 5fd168b60a241917f30526c8f5b87945e2a94b31 (patch) | |
tree | 9a13f9e7ac82123b90ffc03ec641ccc88a9e23ce /libstdc++-v3/ChangeLog | |
parent | dfd1bdace6e4d4aed998fe47ae60ad9dab4b8afc (diff) | |
download | gcc-5fd168b60a241917f30526c8f5b87945e2a94b31.tar.gz |
Detect overflow in size calculations in __cxa_vec_new{2,3}
2012-11-03 Florian Weimer <fweimer@redhat.com>
* libsupc++/vec.cc (compute_size): New.
(__cxa_vec_new2, __cxa_vec_new3): Use it.
* testsuite/18_support/cxa_vec.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193174 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3ceefae51f7..2f02107bb63 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2012-11-03 Florian Weimer <fweimer@redhat.com> + + * libsupc++/vec.cc (compute_size): New. + (__cxa_vec_new2, __cxa_vec_new3): Use it. + * testsuite/18_support/cxa_vec.cc: New. + 2012-11-03 Robert Mason <rbmj@verizon.net> * config/os/vxworks/os_defines.h: |