From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10905 invoked by alias); 1 Nov 2013 01:16:59 -0000 Mailing-List: contact libc-locales-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-locales-owner@sourceware.org Received: (qmail 20982 invoked by uid 48); 31 Oct 2013 19:39:58 -0000 From: "carlos at redhat dot com" To: libc-locales@sourceware.org Subject: [Bug localedata/14594] Testing a mangled pointer results in initializer not being called Date: Fri, 01 Nov 2013 01:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.17 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q4/txt/msg00051.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=14594 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carlos at redhat dot com --- Comment #2 from Carlos O'Donell --- Fedora has a fix for this already I think, which is just unconditionally demangle and *then* check for null. There is almost not performance benefit to checking the mangled value for null, demangling if it is, and then calling the function. -- You are receiving this mail because: You are on the CC list for the bug.