ntdll: trace arena magics (may help debugging some heap corruptions).

Lionel_Debroux lionel_debroux at yahoo.fr
Tue Nov 27 14:46:47 CST 2007


Helper patch made while trying to fix bug #10521 (patch is WIP).
By showing the invalid arena magic values, it can help spotting the
exact kind of overwrite that occurred. With WINEDEBUG=warn+heap, it
shows the overwrite with uninitialized newly allocated memory
(0x55555555) by the buggy msvcrt _aligned_realloc_offset.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-ntdll-trace-arena-magics-may-help-debugging-some-h.patch
Type: text/x-diff
Size: 4039 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071127/255910cf/attachment.patch 


More information about the wine-patches mailing list