From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14182 invoked by alias); 2 May 2012 01:48:47 -0000 Received: (qmail 14016 invoked by uid 22791); 2 May 2012 01:48:46 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 02 May 2012 01:48:31 +0000 From: "carlos_odonell at mentor dot com" To: glibc-bugs@sources.redhat.com Subject: [Bug libc/13752] [2.15 backport] scanf always calls realloc Date: Wed, 02 May 2012 01:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Keywords: glibc_2.15 X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos_odonell at mentor dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: carlos at systemhalted dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status CC Resolution Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00027.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13752 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |carlos_odonell at mentor | |dot com Resolution| |WONTFIX --- Comment #1 from Carlos O'Donell 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.