[ADVAPI32] In RegSetValueExW, do not fail if we fault when checking for ending NUL character

This commit is contained in:
Jérôme Gardou 2021-03-02 15:39:25 +01:00
parent 7320c989fe
commit 42b94e728a

View file

@ -4933,8 +4933,7 @@ RegSetValueExW(
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
ClosePredefKey(KeyHandle);
return ERROR_NOACCESS;
/* Do not fail if we fault where we were told not to go */
}
_SEH2_END;
}