Commit 6cf27345 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedbg: Correctly handle invalid read conditions.

parent 2ba1cdad
...@@ -82,7 +82,7 @@ static void memory_report_invalid_addr(const void* addr) ...@@ -82,7 +82,7 @@ static void memory_report_invalid_addr(const void* addr)
address.Offset = (unsigned long)addr; address.Offset = (unsigned long)addr;
dbg_printf("*** Invalid address "); dbg_printf("*** Invalid address ");
print_address(&address, FALSE); print_address(&address, FALSE);
dbg_printf("\n"); dbg_printf(" ***\n");
} }
/*********************************************************************** /***********************************************************************
...@@ -108,7 +108,7 @@ BOOL memory_read_value(const struct dbg_lvalue* lvalue, DWORD size, void* result ...@@ -108,7 +108,7 @@ BOOL memory_read_value(const struct dbg_lvalue* lvalue, DWORD size, void* result
ret = TRUE; ret = TRUE;
} }
} }
return TRUE; return ret;
} }
/*********************************************************************** /***********************************************************************
......
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