mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 09:50:52 +00:00
winedbg: Check for buffer being NULL.
This commit is contained in:
parent
4d8fffb24b
commit
102a3b9892
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ static BOOL fill_sym_lvalue(const SYMBOL_INFO* sym, ULONG base,
|
|||
*/
|
||||
if (!types_get_info(&type, TI_GET_VALUE, &v) || (v.n1.n2.vt & VT_BYREF))
|
||||
{
|
||||
snprintf(buffer, sz, "Couldn't dereference pointer for const value");
|
||||
if (buffer) snprintf(buffer, sz, "Couldn't dereference pointer for const value");
|
||||
return FALSE;
|
||||
}
|
||||
pdw = (DWORD*)lexeme_alloc_size(sizeof(*pdw));
|
||||
|
|
Loading…
Reference in a new issue