Signed-off-by: Rémi Bernon rbernon@codeweavers.com ---
==1164948== Conditional jump or move depends on uninitialised value(s) ==1164948== at 0x46D1C1E: open_dll_file (loader.c:1187) ==1164948== by 0x46D2343: open_builtin_file (loader.c:1230) ==1164948== by 0x46D32CF: load_ntdll (loader.c:1453) ==1164948== by 0x46D32CF: start_main_thread (loader.c:1602) ==1164948== by 0x46D32CF: __wine_main (loader.c:1838) ==1164948== by 0x7D001258: main (main.c:157) ==1164948== ==1164948== Conditional jump or move depends on uninitialised value(s) ==1164948== at 0x47073A9: find_view (virtual.c:937) ==1164948== by 0x47073A9: NtUnmapViewOfSection (virtual.c:4065) ==1164948== by 0x46D1C2A: open_dll_file (loader.c:1189) ==1164948== by 0x46D2343: open_builtin_file (loader.c:1230) ==1164948== by 0x46D32CF: load_ntdll (loader.c:1453) ==1164948== by 0x46D32CF: start_main_thread (loader.c:1602) ==1164948== by 0x46D32CF: __wine_main (loader.c:1838) ==1164948== by 0x7D001258: main (main.c:157)
dlls/ntdll/unix/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/unix/loader.c b/dlls/ntdll/unix/loader.c index c8a5410a30a..08f8128e0f5 100644 --- a/dlls/ntdll/unix/loader.c +++ b/dlls/ntdll/unix/loader.c @@ -1446,7 +1446,7 @@ static void load_ntdll(void) { NTSTATUS status; SECTION_IMAGE_INFORMATION info; - void *module; + void *module = NULL; char *name = build_path( dll_dir, "ntdll.dll.so" );
name[strlen(name) - 3] = 0; /* remove .so */