This is the mail archive of the libc-alpha@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]

[PATCH] Fix linker-debugger interface


Hi all,

When unmapping the first object in a namespace, the runtime linker
correctly updates its internal pointer to the start of the list
but does not update the externally visible pointer.  This results
in debuggers being passed pointers to memory that has been freed.
This issue was discovered by Jan Kratochvil [1]

The attached patch fixes.  Ok to commit?

Thanks,
Gary

[1] http://www.cygwin.com/ml/gdb-patches/2012-08/msg00443.html

-- 
http://gbenson.net/

Attachment: patch
Description: Text document


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