Bug in scanf &Co

Igor Pechtchanski pechtcha@cs.nyu.edu
Wed Jun 9 21:37:00 GMT 2004

On Wed, 9 Jun 2004, Igor Pechtchanski wrote:

> Hi,
> There is a bug in the newlib scanf family implementation (actually, in
> __svfscanf_r in libc/stdio/vfscanf.c) that causes it to read strings of
> the form 0x0+ incorrectly.  Attached is a testcase that demonstrates the
> bug on Cygwin.  I suspect the following change:
> <http://sources.redhat.com/ml/newlib-cvs/2004-q2/msg00008.html>.
> HTH,
>         Igor

Oops, sorry for the noise.  This'll teach me to search the mailing list
before posting. *blush*
This was already reported in
<http://sources.redhat.com/ml/newlib/2004/msg00262.html> -- thanks to Jeff
Johnston for the patch.
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

More information about the Newlib mailing list