gcc/libstdc++-v3/testsuite
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
..
17_intro re PR testsuite/81056 (FAIL: 17_intro/names.cc (test for excess errors)) 2017-08-20 19:00:59 +00:00
18_support Define __cpp_lib_byte feature-test macro 2017-10-20 19:19:09 +01:00
19_diagnostics Update copyright years. 2017-01-01 13:07:43 +01:00
20_util Update value of __cpp_lib_chrono feature-test macro 2017-10-20 22:06:20 +01:00
21_strings PR libstdc++/79162 Fix std::string regression due to LWG 2946 2017-09-20 19:52:56 +01:00
22_locale Fix std::wbuffer_convert::sync() 2017-06-16 14:35:22 +01:00
23_containers PR libstdc++/81891 fix double-free in hashtable constructor 2017-09-04 13:24:42 +01:00
24_iterators Fix failing C++17 test 2017-09-20 17:51:03 +01:00
25_algorithms Fix tests for std::clamp 2017-09-21 11:11:21 +01:00
26_numerics PR libstdc++/79433 no #error for including headers with wrong -std 2017-10-20 16:14:29 +01:00
27_io PR libstdc++/81395 fix crash when write follows large read 2017-10-23 18:16:38 +01:00
28_regex PR libstdc++/81002 fix std::basic_regex range constructor 2017-06-07 17:50:36 +01:00
29_atomics 69301.cc: Require atomic builtins. 2017-01-23 17:18:04 +00:00
30_threads PR libstdc++/79433 no #error for including headers with wrong -std 2017-10-20 16:14:29 +01:00
abi Update copyright years. 2017-01-01 13:07:43 +01:00
backward Update copyright years. 2017-01-01 13:07:43 +01:00
config Update copyright years. 2017-01-01 13:07:43 +01:00
data make_graph_test_infos.xml: Edit. 2011-08-15 00:51:06 +00:00
decimal Update copyright years. 2017-01-01 13:07:43 +01:00
experimental Fix invalid path::iterator test 2017-10-21 02:16:57 +01:00
ext PR libstdc++/81751 don't call fflush(NULL) 2017-08-14 13:14:09 +01:00
lib Define cxx11-abi effective target for libstdc++ tests 2017-01-13 14:57:33 +00:00
libstdc++-abi Update copyright years. 2017-01-01 13:07:43 +01:00
libstdc++-dg Update copyright years. 2017-01-01 13:07:43 +01:00
libstdc++-prettyprinters Skip tests that are incompatible with Profile Mode 2017-01-14 11:55:22 +00:00
libstdc++-xmethods Update copyright years. 2017-01-01 13:07:43 +01:00
performance Update copyright years. 2017-01-01 13:07:43 +01:00
special_functions Update copyright years. 2017-01-01 13:07:43 +01:00
tr1 Update copyright years. 2017-01-01 13:07:43 +01:00
tr2 Update copyright years. 2017-01-01 13:07:43 +01:00
util PR libstdc++/81092 add std::wstring symbols and bump library version 2017-06-16 13:18:53 +01:00
Makefile.am Update copyright years. 2017-01-01 13:07:43 +01:00
Makefile.in re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00