Skip to content
Commit d948478b authored by Andreas Schwab's avatar Andreas Schwab Committed by Florian Weimer
Browse files

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 32ff3975)
parent 4a5e5882
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment