This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/14989] dlerror() returns garbage
- From: "bugdal at aerifal dot cx" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 01 Jan 2013 21:27:01 +0000
- Subject: [Bug dynamic-link/14989] dlerror() returns garbage
- Auto-submitted: auto-generated
- References: <bug-14989-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14989
--- Comment #5 from Rich Felker <bugdal at aerifal dot cx> 2013-01-01 21:27:01 UTC ---
I've referred the issue to the Austin Group:
http://austingroupbugs.net/view.php?id=639
Calling dlclose on an invalid handle is conceptually just as invalid (i.e. just
as much a programming error) as calling free on an invalid pointer, but indeed
the current text of the standard seems to specify a behavior for that case
which imposes a heavy implementation burden; there's no way to satisfy the
requirement without walking the entire list of loaded libraries to check
whether handle matches any of them before using it, and I'm not aware of any
implementations which do this.
Apologies for responding prematurely without researching the 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.