diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-06-08 10:32:59 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-06-08 10:32:59 -0400 |
commit | 6e9ff6a4cf4c6ab8f18e35934e33579c4caf2c3e (patch) | |
tree | 7f6a11d836b0b4fd878fabea1becd5cb7e8d77ff /src/stdio/tempnam.c | |
parent | 1429ce9ba2425b8abeefc311d56db5efe801d9d2 (diff) | |
download | musl-6e9ff6a4cf4c6ab8f18e35934e33579c4caf2c3e.tar.gz musl-6e9ff6a4cf4c6ab8f18e35934e33579c4caf2c3e.tar.xz musl-6e9ff6a4cf4c6ab8f18e35934e33579c4caf2c3e.zip |
fix printf %ls with precision limit over-read issue
printf was not printing too many characters, but it was reading one too many wchar_t elements from the input. this could lead to crashes if running off the page, or spurious failure if the conversion of the extra wchar_t resulted in EILSEQ.
Diffstat (limited to 'src/stdio/tempnam.c')
0 files changed, 0 insertions, 0 deletions