r193174 - in /trunk/libstdc++-v3: ChangeLog lib...

fw@gcc.gnu.org fw@gcc.gnu.org
Mon Nov 5 17:48:00 GMT 2012


Author: fw
Date: Mon Nov  5 17:48:46 2012
New Revision: 193174

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193174
Log:
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.

Added:
    trunk/libstdc++-v3/testsuite/18_support/cxa_vec.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/libsupc++/vec.cc



More information about the Libstdc++-cvs mailing list