gcc/libstdc++-v3
Jonathan Wakely 32917686b0 PR 72847 Prevent double-free in std::vector<bool>
PR libstdc++/72847
	* include/bits/stl_bvector.h (_Bvector_base::_M_deallocate): Zero
	pointers to start and end of storage.
	* testsuite/23_containers/vector/bool/72847.cc: New test.
	* include/bits/vector.tcc (vector<bool>::_M_reallocate): Only update
	_M_finish after deallocating.
	(vector<bool>::_M_fill_insert): Likewise.
	(vector<bool>::_M_insert_range): Likewise.
	(vector<bool>::_M_insert_aux): Likewise.

From-SVN: r239497
2016-08-16 12:33:16 +01:00
..
config Update Solaris baselines 2016-08-02 11:18:44 +00:00
doc Update C++17 library status table 2016-08-06 13:45:58 +01:00
include PR 72847 Prevent double-free in std::vector<bool> 2016-08-16 12:33:16 +01:00
libsupc++ Use static pointer to member when catching nullptr 2016-07-20 19:21:48 +01:00
po
python
scripts Add -fno-show-column to libstdc++ test flags 2016-08-02 20:34:15 +01:00
src ops.cc: Always include ostream and ext/stdio_filebuf.h. 2016-08-15 13:40:37 +02:00
testsuite PR 72847 Prevent double-free in std::vector<bool> 2016-08-16 12:33:16 +01:00
acinclude.m4 New libstdc++ symbol version for new basic_string symbols 2016-07-29 11:42:17 +01:00
aclocal.m4
ChangeLog PR 72847 Prevent double-free in std::vector<bool> 2016-08-16 12:33:16 +01:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
config.h.in Fix configure test for sendfile() 2016-05-25 17:13:52 +01:00
configure New libstdc++ symbol version for new basic_string symbols 2016-07-29 11:42:17 +01:00
configure.ac
configure.host remove mep-* support 2016-06-21 21:57:49 +00:00
crossconfig.m4 remove knetbsd support 2016-06-21 21:57:30 +00:00
fragment.am
linkage.m4
Makefile.am
Makefile.in
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.