fix printf %ls with precision limit over-read issue
authorRich Felker <dalias@aerifal.cx>
Fri, 8 Jun 2012 14:32:59 +0000 (10:32 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 8 Jun 2012 14:32:59 +0000 (10:32 -0400)
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.


No differences found