Summary: | LD_DEBUG=bindings produces incorrect data | ||
---|---|---|---|
Product: | glibc | Reporter: | law |
Component: | dynamic-link | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | WAITING --- | ||
Severity: | normal | CC: | neleai |
Priority: | P2 | Flags: | fweimer:
security-
|
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Attachments: | Uli's patch to fix this problem |
I don't get any difference in the output of LD_DEBUG=bindings with or without the patch. Needs a reproducer. |
Created attachment 6580 [details] Uli's patch to fix this problem The binding information printed for LD_DEBUG=bindings is incorrect when dlopen is used. This severely hinders people debugging problems with audit modules and other problems. Steps to Reproduce: 1.find program which uses dlopen with a handle returned by dlopen 2.use LD_DEBUG=bindings 3. Actual results: The 'from' map is reported to be the map with the definition Expected results: The from 'from' map should be reported. Uli's patch for this problem is attached. I haven't evaluated either the problem or the patch.