public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/13752] New: [2.15 backport] scanf always calls realloc
@ 2012-02-25  1:31 allan at archlinux dot org
  2012-05-02  1:48 ` [Bug libc/13752] " carlos_odonell at mentor dot com
  2014-06-26 14:37 ` fweimer at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: allan at archlinux dot org @ 2012-02-25  1:31 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13752

             Bug #: 13752
           Summary: [2.15 backport] scanf always calls realloc
           Product: glibc
           Version: 2.15
            Status: NEW
          Keywords: glibc_2.15
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: carlos@systemhalted.org
        ReportedBy: allan@archlinux.org
                CC: drepper.fsp@gmail.com
    Classification: Unclassified


The following commit should be backported to glibc 2.15:

commit 20b38e0301279a37a3f1e769843933bcc0d5f736
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Sun Jan 8 20:13:35 2012 -0500

    sscanf always calls realloc

-- 
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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/13752] [2.15 backport] scanf always calls realloc
  2012-02-25  1:31 [Bug libc/13752] New: [2.15 backport] scanf always calls realloc allan at archlinux dot org
@ 2012-05-02  1:48 ` carlos_odonell at mentor dot com
  2014-06-26 14:37 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: carlos_odonell at mentor dot com @ 2012-05-02  1:48 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13752

Carlos O'Donell <carlos_odonell at mentor dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |carlos_odonell at mentor
                   |                            |dot com
         Resolution|                            |WONTFIX

--- Comment #1 from Carlos O'Donell <carlos_odonell at mentor dot com> 2012-05-02 01:48:27 UTC ---
I am not going to backport this change to the stable 2.15 branch. This is not a
correctness issue it's only a performance issue.

As it stands the 2.15 branch *always* uses realloc and that is OK.

I don't want to backport this patch because it would enable the use of alloca
where there previously had not been such a use and I feel we haven't had enough
testing to validate that this doesn't cause some unforeseen consequence.

In general I'm going to avoid changes that introduce alternate memory
allocations or stack usage unless those patches are for correctness.

Please reopen this issue if you would like to discuss the reasons you have for
wanting this backport to 2.15, for example you have a use case where this is a
*serious* performance issue.

-- 
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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/13752] [2.15 backport] scanf always calls realloc
  2012-02-25  1:31 [Bug libc/13752] New: [2.15 backport] scanf always calls realloc allan at archlinux dot org
  2012-05-02  1:48 ` [Bug libc/13752] " carlos_odonell at mentor dot com
@ 2014-06-26 14:37 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-06-26 14:37 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=13752

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-26 14:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-25  1:31 [Bug libc/13752] New: [2.15 backport] scanf always calls realloc allan at archlinux dot org
2012-05-02  1:48 ` [Bug libc/13752] " carlos_odonell at mentor dot com
2014-06-26 14:37 ` fweimer at redhat dot com

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).