Commit 8be71fef authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

winedbg: Check buffer for NULL before writing to it.

parent bf86302e
......@@ -652,7 +652,7 @@ BOOL memory_get_register(DWORD regno, DWORD** value, char* buffer, int len)
else
*value = div->pval;
snprintf(buffer, len, div->name);
if (buffer) snprintf(buffer, len, div->name);
return TRUE;
}
}
......
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