Eric Pouech : winedbg: Fix buffer size for 8-byte watchpoint.
Alexandre Julliard
julliard at winehq.org
Tue Apr 13 11:24:39 CDT 2010
Module: wine
Branch: master
Commit: a1986b20e77cfa0676a00782bb283b4e461b4aed
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a1986b20e77cfa0676a00782bb283b4e461b4aed
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Mon Apr 12 21:18:05 2010 +0200
winedbg: Fix buffer size for 8-byte watchpoint.
---
programs/winedbg/break.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/winedbg/break.c b/programs/winedbg/break.c
index e35250c..6413c43 100644
--- a/programs/winedbg/break.c
+++ b/programs/winedbg/break.c
@@ -139,7 +139,7 @@ static int init_xpoint(int type, const ADDRESS64* addr)
*/
static BOOL get_watched_value(int num, DWORD64* val)
{
- BYTE buf[4];
+ DWORD64 buf[1];
if (!dbg_read_memory(memory_to_linear_addr(&dbg_curr_process->bp[num].addr),
buf, dbg_curr_process->bp[num].w.len + 1))
More information about the wine-cvs
mailing list