Commit a1986b20 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedbg: Fix buffer size for 8-byte watchpoint.

parent fcd33d68
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment