public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ondra at iuuk dot mff.cuni.cz" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug stdio/15301] scanf family misbehaves on %m when zero characters are read
Date: Thu, 09 May 2013 16:56:00 -0000	[thread overview]
Message-ID: <bug-15301-131-WkOVsheyQJ@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-15301-131@http.sourceware.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.


  parent reply	other threads:[~2013-05-09 16:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-24 17:22 [Bug stdio/15301] New: " repentinus at fsfe dot org
2013-03-24 17:41 ` [Bug stdio/15301] " repentinus at fsfe dot org
2013-03-25  1:47 ` repentinus at fsfe dot org
2013-05-09 16:56 ` ondra at iuuk dot mff.cuni.cz [this message]
2013-11-15 20:45 ` bugdal at aerifal dot cx
2013-11-17  8:17 ` neleai at seznam dot cz
2014-06-13 18:40 ` fweimer at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-15301-131-WkOVsheyQJ@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).