diff options
author | Andreas Schwab <schwab@suse.de> | 2019-05-14 17:14:59 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-05-16 10:10:04 +0200 |
commit | 4385ec1d8af4203b23dce8c9dc2f1aff5acaf094 (patch) | |
tree | c2f5e833bb51c2c62b3953fb0bd8e9940b073b42 /rt/tst-timer.c | |
parent | c165427d55d4eefca2dd324073c52f54db0db15a (diff) | |
download | glibc-4385ec1d8af4203b23dce8c9dc2f1aff5acaf094.tar.gz |
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 32ff397533715988c19cbf3675dcbd727ec13e18)
Diffstat (limited to 'rt/tst-timer.c')
0 files changed, 0 insertions, 0 deletions