gcc/libstdc++-v3/testsuite/27_io
Jonathan Wakely 032c672c5c PR libstdc++/81395 fix crash when write follows large read
Backport from mainline
2017-07-18  Jonathan Wakely  <jwakely@redhat.com>

	PR libstdc++/81395
	* include/bits/fstream.tcc (basic_filebuf::xsgetn): Don't set buffer
	pointers for write mode after reading.
	* testsuite/27_io/basic_filebuf/sgetn/char/81395.cc: New.

From-SVN: r254015
2017-10-23 18:16:38 +01:00
..
basic_filebuf PR libstdc++/81395 fix crash when write follows large read 2017-10-23 18:16:38 +01:00
basic_fstream PR libstdc++/53984 handle exceptions in basic_istream::sentry 2017-08-14 13:14:01 +01:00
basic_ifstream Update copyright years. 2017-01-01 13:07:43 +01:00
basic_ios Fix libstdc++ testsuite failures with -D_GLIBCXX_USE_CXX11_ABI=0 2017-09-20 23:26:26 +01:00
basic_iostream Update copyright years. 2017-01-01 13:07:43 +01:00
basic_istream Fix libstdc++ testsuite failures with -D_GLIBCXX_USE_CXX11_ABI=0 2017-09-20 23:26:26 +01:00
basic_istringstream Update copyright years. 2017-01-01 13:07:43 +01:00
basic_ofstream Update copyright years. 2017-01-01 13:07:43 +01:00
basic_ostream Fix libstdc++ testsuite failures with -D_GLIBCXX_USE_CXX11_ABI=0 2017-09-20 23:26:26 +01:00
basic_ostringstream Update copyright years. 2017-01-01 13:07:43 +01:00
basic_streambuf Update copyright years. 2017-01-01 13:07:43 +01:00
basic_stringbuf Update copyright years. 2017-01-01 13:07:43 +01:00
basic_stringstream PR libstdc++/81338 correctly manage string capacity 2017-09-04 13:24:33 +01:00
fpos Update copyright years. 2017-01-01 13:07:43 +01:00
headers Update copyright years. 2017-01-01 13:07:43 +01:00
ios_base Fix libstdc++ testsuite failures with -D_GLIBCXX_USE_CXX11_ABI=0 2017-09-20 23:26:26 +01:00
manipulators Update copyright years. 2017-01-01 13:07:43 +01:00
objects Update copyright years. 2017-01-01 13:07:43 +01:00
types Update copyright years. 2017-01-01 13:07:43 +01:00
rvalue_streams-2.cc PR libstdc++/80675, PR libstdc++/80940 2017-06-22 00:09:46 +03:00
rvalue_streams.cc Update copyright years. 2017-01-01 13:07:43 +01:00