aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/close.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2019-05-14 17:14:59 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-05-15 17:08:48 +0200
commitd948478bc586dec2fe3edd49e8e55f3893b3f854 (patch)
tree8ac6342749cebddf2133e5f7919c5fc57704e516 /sysdeps/unix/sysv/linux/close.c
parent4a5e58827f2b6efa94ea50a9db5f3c861173837f (diff)
downloadglibc-d948478bc586dec2fe3edd49e8e55f3893b3f854.tar
glibc-d948478bc586dec2fe3edd49e8e55f3893b3f854.tar.gz
glibc-d948478bc586dec2fe3edd49e8e55f3893b3f854.tar.bz2
glibc-d948478bc586dec2fe3edd49e8e55f3893b3f854.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 'sysdeps/unix/sysv/linux/close.c')
0 files changed, 0 insertions, 0 deletions