Commit Graph

1 Commits

Author SHA1 Message Date
Andreas Schwab
f9c3c12f33 Fix crash in _IO_wfile_sync (bug 20568)
When computing the length of the converted part of the stdio buffer, use
the number of consumed wide characters, not the (negative) distance to the
end of the wide buffer.

(cherry picked from commit 32ff397533)
2019-05-15 17:26:58 +02:00