Commit 7a843c66 authored by Alex Villacís Lasso's avatar Alex Villacís Lasso Committed by Alexandre Julliard

Check against NULL libname in LoadModule16.

parent e1d7ff95
......@@ -1197,6 +1197,8 @@ HINSTANCE16 WINAPI LoadModule16( LPCSTR name, LPVOID paramBlock )
LPSTR cmdline;
WORD cmdShow;
if (name == NULL) return 0;
/* Load module */
if ( (hModule = NE_GetModuleByFilename(name) ) != 0 )
......
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