This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Bug in scanf &Co
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: newlib at sources dot redhat dot com
- Date: Wed, 9 Jun 2004 17:01:56 -0400 (EDT)
- Subject: Re: Bug in scanf &Co
- References: <F76C9B2DA2FC4C4CA0A18E288BBCBCF70821799F@nihexchange24.nih.gov><123-1790318362.20040602140951@familiehaase.de><Pine.GSO.4.58.0406020949510.18478@slinky.cs.nyu.edu><32-1775580380.20040602181529@familiehaase.de> <Pine.GSO.4.58.0406021327090.18478@slinky.cs.nyu.edu><Pine.GSO.4.58.0406021357430.24651@slinky.cs.nyu.edu><Pine.GSO.4.58.0406091648270.20998@slinky.cs.nyu.edu>
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.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ 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