Commit 45ba200f authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

kernel32: Fix use of uninitialised nameW and typeW in find_resourceA.

parent cebc73e3
...@@ -132,6 +132,9 @@ static HRSRC find_resourceA( HMODULE hModule, LPCSTR type, LPCSTR name, WORD lan ...@@ -132,6 +132,9 @@ static HRSRC find_resourceA( HMODULE hModule, LPCSTR type, LPCSTR name, WORD lan
LDR_RESOURCE_INFO info; LDR_RESOURCE_INFO info;
const IMAGE_RESOURCE_DATA_ENTRY *entry = NULL; const IMAGE_RESOURCE_DATA_ENTRY *entry = NULL;
nameW.Buffer = NULL;
typeW.Buffer = NULL;
__TRY __TRY
{ {
if ((status = get_res_nameA( name, &nameW )) != STATUS_SUCCESS) goto done; if ((status = get_res_nameA( name, &nameW )) != STATUS_SUCCESS) goto done;
......
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