Commit 2fa840b0 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

Fix uninitialized pointer in builtin providers. Reported by Kai

Blin.
parent dfb887dc
...@@ -495,6 +495,7 @@ SecureProvider *SECUR32_addProvider(PSecurityFunctionTableA fnTableA, ...@@ -495,6 +495,7 @@ SecureProvider *SECUR32_addProvider(PSecurityFunctionTableA fnTableA,
ret->lib = NULL; ret->lib = NULL;
if (fnTableA || fnTableW) if (fnTableA || fnTableW)
{ {
ret->moduleName = NULL;
_makeFnTableA(&ret->fnTableA, fnTableA, fnTableW); _makeFnTableA(&ret->fnTableA, fnTableA, fnTableW);
_makeFnTableW(&ret->fnTableW, fnTableA, fnTableW); _makeFnTableW(&ret->fnTableW, fnTableA, fnTableW);
ret->loaded = TRUE; ret->loaded = TRUE;
......
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