提交 009ff360 编写于 作者: M MikeBeaton

OpenCanopy: Allow for missing mouse support in password verify

Closes: https://github.com/acidanthera/bugtracker/issues/1925
上级 feef521d
......@@ -2,8 +2,9 @@ OpenCore Changelog
==================
#### v0.7.8
- Updated ocvalidate to warn about insecure `DmgLoading` with secure `SecureBootModel` (already disallowed in runtime)
- Fixed AudioDxe not disabling unused channels after 0.7.7 updates
- Allow gain to track OS volume on old macOS without SystemAudioVolumeDB
- Fixed AudioDxe not disabling unused channels after recent updates
- Allow gain to track OS volume on old macOS without `SystemAudioVolumeDB`
- Fixed crash on no mouse support when verifying password
#### v0.7.7
- Fixed rare crash caused by register corruption in the entry point
......
......@@ -184,7 +184,9 @@ InternalConfirmPassword (
CONST OC_PRIVILEGE_CONTEXT *Privilege;
GUI_PTR_POSITION PtrPosition;
GuiPointerGetPosition (mPointerContext, &PtrPosition);
if (mPointerContext != NULL) {
GuiPointerGetPosition (mPointerContext, &PtrPosition);
}
Privilege = Context->PickerContext->PrivilegeContext;
......@@ -195,8 +197,10 @@ InternalConfirmPassword (
);
GuiKeyReset (mKeyContext);
GuiPointerReset (mPointerContext);
GuiPointerSetPosition (mPointerContext, &PtrPosition);
if (mPointerContext != NULL) {
GuiPointerReset (mPointerContext);
GuiPointerSetPosition (mPointerContext, &PtrPosition);
}
DrawContext->CursorOpacity = 0xFF;
SecureZeroMem (mPasswordBox.PasswordInfo.Password, mPasswordBox.PasswordInfo.PasswordLen);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册