diff options
author | Rich Felker <dalias@aerifal.cx> | 2017-08-31 14:30:28 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2017-08-31 15:48:00 -0400 |
commit | 11ddc314b57196519316103b02acffe10299dad3 (patch) | |
tree | 378a974b331fad6963b364b31e33bed049c3c1cd /src/complex/csqrt.c | |
parent | 8459c6f2647a378eca2c6375210ddf29dd499043 (diff) | |
download | musl-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 'src/complex/csqrt.c')
0 files changed, 0 insertions, 0 deletions