dbghelp: fix debuglink crash, accessing memory after munmap

Peter Oberndorfer kumbayo84 at arcor.de
Sun Jan 21 06:28:10 CST 2007


Winedbg would crash on my system when trying to set a breakpoint (loading the debug info from a .debug file)
The problem is that hash_table_elt adds the symbols of the .debug file to the hashtable of the parent file.
But at the time elf_new_public_symbols is run, the sections of the .debug file are already unmapped.
In addition to that the symbols in .debug would be added 2 times (.so and .debug file)

Changelog:
dbghelp: fix debuglink crash, accessing memory after munmap
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbghelp_debuglink_crash_ht.diff
Type: text/x-diff
Size: 808 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070121/73d9f7b1/dbghelp_debuglink_crash_ht.bin


More information about the wine-patches mailing list