winedbg: Do not print more than 9 characters from pThread->name.
Rico Schüller
kgbricola at web.de
Tue May 19 09:32:04 CDT 2009
Hi,
this patch limits the number of characters printed by dbg_printf in the
case of pThread->name.
The variable (pThread->name) holds up to 9 chars. In the previous read
all 9 chars could be overwritten and no '\0' is added and this could
cause to show a lot of random data on a call to dbg_printf.
Cheers
Rico
---
programs/winedbg/tgt_active.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4d7097153ba2348b6d38bd14e3820965f88f9af9.diff
Type: text/x-patch
Size: 666 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090519/e75e326f/attachment-0001.bin>
More information about the wine-patches
mailing list