diff options
author | Rich Felker <dalias@aerifal.cx> | 2023-03-22 12:56:46 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2023-03-22 12:56:46 -0400 |
commit | 1d5750b95c06913a1f18a995481276d698d20fae (patch) | |
tree | a64fe442a196ad0d6cfa6c61d330b85507361f90 /include/sys/termios.h | |
parent | 0e5234807dcdc76c43f9313c6ba9e2b7da408d8c (diff) | |
download | musl-1d5750b95c06913a1f18a995481276d698d20fae.tar.gz |
fix swprintf handling of nul character in output
the buffer-flush function did not account for mbtowc returning 0
rather than 1 when converting the nul character. this prevented
advancing past it, instead repeatedly converting it into the output
wide character string until the max output length was exhausted.
Diffstat (limited to 'include/sys/termios.h')
0 files changed, 0 insertions, 0 deletions