Konstantin Belousov
bafaa70b6f
libc __sfvwrite(): roll back FILE buffer pointer on fflush error
...
__sfvwrite() advances the pointer before calling fflush. If fflush()
fails, it is not enough to roll back inside it, because we cannot know
how much was advanced by the caller.
Reported by: Peter <pmc@citylink.dinoex.sub.org>
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Fixes: 86a16ada1ea608408cec370171d9f59353e97c77
2022-03-06 10:29:51 -05:00
..
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2020-06-14 05:59:30 +00:00
2022-01-25 17:26:05 +02:00
2017-11-20 19:49:47 +00:00
2020-06-18 13:13:04 +00:00
2019-02-07 23:17:44 +00:00
2017-11-20 19:49:47 +00:00
2019-09-01 16:12:05 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2020-06-14 05:59:30 +00:00
2017-11-20 19:49:47 +00:00
2017-05-23 07:15:57 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2020-02-02 19:45:12 +00:00
2020-01-30 03:31:16 +00:00
2020-01-30 03:31:16 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2020-01-30 03:31:16 +00:00
2022-01-16 00:43:56 +01:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2022-03-06 10:29:51 -05:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2020-01-30 03:31:16 +00:00
2017-11-25 17:12:48 +00:00
2020-04-10 09:37:20 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2021-09-02 11:26:26 -07:00
2017-11-25 17:12:48 +00:00
2018-05-19 21:26:07 +00:00
2019-09-01 16:12:05 +00:00
2017-11-20 19:49:47 +00:00
2020-04-01 22:50:41 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2020-01-30 03:31:16 +00:00
2019-07-29 19:02:16 +00:00
2021-01-24 11:06:36 +00:00
2021-04-28 12:18:25 +03:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2018-05-22 11:05:40 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2020-01-30 03:31:16 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2020-06-14 05:59:30 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2019-09-01 16:12:05 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2020-02-02 19:45:12 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2020-08-07 16:20:07 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2018-05-22 11:05:40 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2021-11-29 17:39:51 +02:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2017-11-20 19:49:47 +00:00
2017-11-27 09:57:37 +00:00
2018-02-23 01:11:57 +00:00
2017-11-25 17:12:48 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2017-11-20 19:49:47 +00:00