about summary refs log tree commit diff
path: root/COPYRIGHT
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2017-08-31 14:30:28 -0400
committerRich Felker <dalias@aerifal.cx>2017-08-31 15:48:00 -0400
commit11ddc314b57196519316103b02acffe10299dad3 (patch)
tree378a974b331fad6963b364b31e33bed049c3c1cd /COPYRIGHT
parent8459c6f2647a378eca2c6375210ddf29dd499043 (diff)
downloadmusl-11ddc314b57196519316103b02acffe10299dad3.tar.gz
musl-11ddc314b57196519316103b02acffe10299dad3.tar.xz
musl-11ddc314b57196519316103b02acffe10299dad3.zip
fix erroneous stop before input limit in mbsnrtowcs and wcsnrtombs
the value computed as an output limit that bounds the amount of input
consumed below the input limit was incorrectly being used as the
actual amount of input consumed. instead, compute the actual amount of
input consumed as a difference of pointers before and after the
conversion.

patch by Mikhail Kremnyov.
Diffstat (limited to 'COPYRIGHT')
0 files changed, 0 insertions, 0 deletions