public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* [mark@codesourcery.com: libc/4926: __cxa_finalize mishandles a NULL dso parameter]
@ 2002-12-05 13:14 Roland McGrath
  2002-12-05 13:23 ` Ulrich Drepper
  0 siblings, 1 reply; 2+ messages in thread
From: Roland McGrath @ 2002-12-05 13:14 UTC (permalink / raw)
  To: GNU libc hackers

[-- Attachment #1: message body text --]
[-- Type: text/plain, Size: 250 bytes --]

If that reference is indeed the spec, then this change needs to be made.
But before I put it in I am wondering whether there might be any gotchas,
i.e. existing binaries that depend on the erroneous behavior.  If so, 
we should do some versioning.



[-- Attachment #2: forwarded message --]
[-- Type: message/rfc822, Size: 1800 bytes --]

From: mark@codesourcery.com
To: libc-gnats@gnu.org, gnats-admin@gnu.org
Subject: libc/4926: __cxa_finalize mishandles a NULL dso parameter
Date: Thu, 05 Dec 2002 16:04:31 -0500
Message-ID: <E18K3Ad-00078g-00@fencepost.gnu.org>

>Number:         4926
>Category:       libc
>Synopsis:       __cxa_finalize mishandles a NULL dso parameter
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    libc-gnats
>State:          open
>Quarter:        
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   gnatsweb
>Arrival-Date:   Thu Dec 05 16:04:31 -0500 2002
>Cases:          
>Originator:     mark@codesourcery.com
>Release:        
>Organization:

>Environment:

>Description:
When __cxa_finalize is called with a NULL DSO handle, it 
should run *all* cleanups; instead it runs none of the
cleanups.

See:

htttp://www.codesourcery.com/cxx-abi/abi.html

for the specification of this function.
>How-To-Repeat:

>Fix:
Unknown
>Unformatted:

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

* Re: [mark@codesourcery.com: libc/4926: __cxa_finalize mishandles a NULL dso parameter]
  2002-12-05 13:14 [mark@codesourcery.com: libc/4926: __cxa_finalize mishandles a NULL dso parameter] Roland McGrath
@ 2002-12-05 13:23 ` Ulrich Drepper
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2002-12-05 13:23 UTC (permalink / raw)
  To: Roland McGrath; +Cc: GNU libc hackers

Roland McGrath wrote:
> If that reference is indeed the spec, then this change needs to be made.
> But before I put it in I am wondering whether there might be any gotchas,
> i.e. existing binaries that depend on the erroneous behavior.  If so, 
> we should do some versioning.

I don't know.  Weak undefined references to __dso_handle might be a
problem.  Just make the change.

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------

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

end of thread, other threads:[~2002-12-05 21:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-05 13:14 [mark@codesourcery.com: libc/4926: __cxa_finalize mishandles a NULL dso parameter] Roland McGrath
2002-12-05 13:23 ` Ulrich Drepper

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