diff options
author | Florian Weimer <fweimer@redhat.com> | 2012-11-05 18:48:46 +0100 |
---|---|---|
committer | Florian Weimer <fw@gcc.gnu.org> | 2012-11-05 18:48:46 +0100 |
commit | 6d0ae0359c02628fa469d393739d564a630874b1 (patch) | |
tree | 9a13f9e7ac82123b90ffc03ec641ccc88a9e23ce /gcc | |
parent | 0be1a5898f27445828da307df1c8cd62c800be03 (diff) | |
download | gcc-6d0ae0359c02628fa469d393739d564a630874b1.zip gcc-6d0ae0359c02628fa469d393739d564a630874b1.tar.gz gcc-6d0ae0359c02628fa469d393739d564a630874b1.tar.bz2 |
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.
From-SVN: r193174
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions