This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/15301] scanf family misbehaves on %m when zero characters are read
- From: "ondra at iuuk dot mff.cuni.cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 09 May 2013 16:56:04 +0000
- Subject: [Bug stdio/15301] scanf family misbehaves on %m when zero characters are read
- Auto-submitted: auto-generated
- References: <bug-15301-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15301
OndrejBilka <ondra at iuuk dot mff.cuni.cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ondra at iuuk dot
| |mff.cuni.cz
--- Comment #3 from OndrejBilka <ondra at iuuk dot mff.cuni.cz> 2013-05-09 16:56:04 UTC ---
I looked in code and probable cause is that we call realloc(x,0) that returns
NULL.
However relevant code should be refactored before this can be fixed.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.