mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 12:03:45 +00:00
Bugfix: Prevent null-pointer dereference in TRACE argument list in
RES_FindResource
This commit is contained in:
parent
8b36b6317b
commit
d88e7661e0
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue