about summary refs log tree commit diff
path: root/ChangeLog.old
diff options
context:
space:
mode:
authorMichael Colavita <mcolavita@fb.com>2020-11-19 11:44:40 -0500
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2020-12-07 22:23:26 +0530
commit228edd356f03bf62dcf2b1335f25d43c602ee68d (patch)
tree85a40834d0c664df673a52adee19de6a040f7baa /ChangeLog.old
parent088e9625378f25607acff3daf7a79cbdee497043 (diff)
downloadglibc-228edd356f03bf62dcf2b1335f25d43c602ee68d.tar.gz
glibc-228edd356f03bf62dcf2b1335f25d43c602ee68d.tar.xz
glibc-228edd356f03bf62dcf2b1335f25d43c602ee68d.zip
iconv: Fix incorrect UCS4 inner loop bounds (BZ#26923)
Previously, in UCS4 conversion routines we limit the number of
characters we examine to the minimum of the number of characters in the
input and the number of characters in the output. This is not the
correct behavior when __GCONV_IGNORE_ERRORS is set, as we do not consume
an output character when we skip a code unit. Instead, track the input
and output pointers and terminate the loop when either reaches its
limit.

This resolves assertion failures when resetting the input buffer in a step of
iconv, which assumes that the input will be fully consumed given sufficient
output space.
Diffstat (limited to 'ChangeLog.old')
0 files changed, 0 insertions, 0 deletions