Commit d88e7661 authored by Bertho Stultiens's avatar Bertho Stultiens Committed by Alexandre Julliard

Bugfix: Prevent null-pointer dereference in TRACE argument list in

RES_FindResource
parent 8b36b631
......@@ -139,7 +139,7 @@ static HRSRC RES_FindResource( HMODULE hModule, LPCSTR type,
MODULE32_LookupHMODULE( pModule->module32 ) : NULL;
TRACE_(resource)("(%08x %s, %08x%s, %08x%s, %04x, %s, %s)\n",
hModule, NE_MODULE_NAME(pModule),
hModule, pModule ? (char *)NE_MODULE_NAME(pModule) : "NULL dereference",
(UINT)type, HIWORD(type)? (bUnicode? debugstr_w((LPWSTR)type) : debugstr_a(type)) : "",
(UINT)name, HIWORD(name)? (bUnicode? debugstr_w((LPWSTR)name) : debugstr_a(name)) : "",
lang,
......
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