Skip to content
Snippets Groups Projects
Commit ca5b2013 authored by Bill Medland's avatar Bill Medland Committed by Alexandre Julliard
Browse files

Prevent trying to handle uninitialised memory as a string.

parent 9ff202e6
No related branches found
No related tags found
No related merge requests found
......@@ -1379,6 +1379,7 @@ WINE_MODREF *MODULE_LoadLibraryExA( LPCSTR libname, HFILE hfile, DWORD flags )
filename = HeapAlloc ( GetProcessHeap(), 0, MAX_PATH + 1 );
if ( !filename ) return NULL;
*filename = 0; /* Just in case we don't set it before goto error */
RtlAcquirePebLock();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment