gcc/libstdc++-v3/include
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
..
backward Update copyright years. 2017-01-01 13:07:43 +01:00
bits PR libstdc++/81395 fix crash when write follows large read 2017-10-23 18:16:38 +01:00
c Update copyright years. 2017-01-01 13:07:43 +01:00
c_compatibility Update copyright years. 2017-01-01 13:07:43 +01:00
c_global Define __cpp_lib_byte feature-test macro 2017-10-20 19:19:09 +01:00
c_std Update copyright years. 2017-01-01 13:07:43 +01:00
debug Add deduction guides for C++17 (P0433R2, partial) 2017-03-22 15:58:35 +00:00
decimal Update copyright years. 2017-01-01 13:07:43 +01:00
experimental Fix path::iterator post-increment and post-decrement 2017-10-20 16:14:23 +01:00
ext PR c++/82039 suppress -Wzero-as-null-pointer-constant warning 2017-09-04 13:24:57 +01:00
parallel Update copyright years. 2017-01-01 13:07:43 +01:00
precompiled Update copyright years. 2017-01-01 13:07:43 +01:00
profile Remove unused include from Profile Mode header 2017-01-13 17:20:23 +00:00
std Update value of __cpp_lib_chrono feature-test macro 2017-10-20 22:06:20 +01:00
tr1 PR libstdc++/70607 revert recent changes to <tr1/complex> 2017-01-26 19:40:02 +00:00
tr2 Update copyright years. 2017-01-01 13:07:43 +01:00
Makefile.am PR libstdc++/79433 no #error for including headers with wrong -std 2017-10-20 16:14:29 +01:00
Makefile.in PR libstdc++/79433 no #error for including headers with wrong -std 2017-10-20 16:14:29 +01:00