gcc/libstdc++-v3/testsuite/27_io/basic_filebuf
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
..
close Update copyright years. 2017-01-01 13:07:43 +01:00
cons Update copyright years. 2017-01-01 13:07:43 +01:00
imbue Update copyright years. 2017-01-01 13:07:43 +01:00
in_avail/char Update copyright years. 2017-01-01 13:07:43 +01:00
is_open/char Update copyright years. 2017-01-01 13:07:43 +01:00
open Update copyright years. 2017-01-01 13:07:43 +01:00
overflow Update copyright years. 2017-01-01 13:07:43 +01:00
pbackfail/char Update copyright years. 2017-01-01 13:07:43 +01:00
requirements Update copyright years. 2017-01-01 13:07:43 +01:00
sbumpc/char Update copyright years. 2017-01-01 13:07:43 +01:00
seekoff Update copyright years. 2017-01-01 13:07:43 +01:00
seekpos Update copyright years. 2017-01-01 13:07:43 +01:00
setbuf/char Update copyright years. 2017-01-01 13:07:43 +01:00
sgetc/char Update copyright years. 2017-01-01 13:07:43 +01:00
sgetn/char PR libstdc++/81395 fix crash when write follows large read 2017-10-23 18:16:38 +01:00
showmanyc/char Update copyright years. 2017-01-01 13:07:43 +01:00
snextc/char Update copyright years. 2017-01-01 13:07:43 +01:00
sputbackc/char Update copyright years. 2017-01-01 13:07:43 +01:00
sputc/char Update copyright years. 2017-01-01 13:07:43 +01:00
sputn/char Update copyright years. 2017-01-01 13:07:43 +01:00
sungetc/char Update copyright years. 2017-01-01 13:07:43 +01:00
sync/char Update copyright years. 2017-01-01 13:07:43 +01:00
underflow Update copyright years. 2017-01-01 13:07:43 +01:00