about summary refs log tree commit diff
path: root/gnulib
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2019-05-14 17:14:59 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-05-16 10:10:04 +0200
commit4385ec1d8af4203b23dce8c9dc2f1aff5acaf094 (patch)
treec2f5e833bb51c2c62b3953fb0bd8e9940b073b42 /gnulib
parentc165427d55d4eefca2dd324073c52f54db0db15a (diff)
downloadglibc-4385ec1d8af4203b23dce8c9dc2f1aff5acaf094.tar.gz
glibc-4385ec1d8af4203b23dce8c9dc2f1aff5acaf094.tar.xz
glibc-4385ec1d8af4203b23dce8c9dc2f1aff5acaf094.zip
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 'gnulib')
0 files changed, 0 insertions, 0 deletions