winedbg: fix DEBUG_ReadLine
Andrew de Quincey
adq_dvb at lidskialf.net
Fri Nov 28 17:51:15 CST 2003
Was passing a NULL buffer (i.e. not initially HeapAlloced()) to a call which
then called HeapReAlloc() on it. Result: not good.
Example of erroneous behaviour: winedbg something and do "break MessageBoxA".
Anything entered into the prompt as to which to choose will cause the
debugger to crash.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winedbg-heapalloc.patch
Type: text/x-diff
Size: 672 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20031128/32fbcbfe/winedbg-heapalloc.bin
More information about the wine-patches
mailing list