about summary refs log tree commit diff
path: root/src/stdio/vswprintf.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-06-07 22:52:41 -0400
committerRich Felker <dalias@aerifal.cx>2012-06-07 22:52:41 -0400
commit31eaad4796b9da459b15da70097c2b619fb01ea9 (patch)
tree16751ce7f5325eff7137e89ed01772399a69b2b3 /src/stdio/vswprintf.c
parent498a100d05666024fd0d409a27709a03e7e58dd3 (diff)
downloadmusl-31eaad4796b9da459b15da70097c2b619fb01ea9.tar.gz
musl-31eaad4796b9da459b15da70097c2b619fb01ea9.tar.xz
musl-31eaad4796b9da459b15da70097c2b619fb01ea9.zip
fix scanf bug reading literals after width-limited field
the field width limit was not being cleared before reading the
literal, causing spurious failures in scanf in cases like "%2d:"
scanning "00:".
Diffstat (limited to 'src/stdio/vswprintf.c')
0 files changed, 0 insertions, 0 deletions