This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/14989] dlerror() returns garbage


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]