Skip to content

Commit

Permalink
fix dll load check
Browse files Browse the repository at this point in the history
  • Loading branch information
cracyc committed Mar 6, 2021
1 parent d36e691 commit cae1959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compobj/compobj.c
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ HRESULT WINAPI CoGetClassObject16(
}

dll = LoadLibrary16(dllpath);
if (!dll)
if (dll < 32)
{
ERR("couldn't load in-process dll %s\n", debugstr_a(dllpath));
err_last = E_ACCESSDENIED16; /* FIXME: or should this be CO_E_DLLNOTFOUND? */
Expand Down

0 comments on commit cae1959

Please sign in to comment.