mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
Add check for NULL pointer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7344 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f67cc2c229
commit
7a79628e35
@ -1196,6 +1196,7 @@ KeyboardHandler (
|
||||
RemoveKeyCode (&(UsbKeyboardDevice->KeyboardBuffer), &UsbKey);
|
||||
|
||||
KeyDescriptor = GetKeyDescriptor (UsbKeyboardDevice, UsbKey.KeyCode);
|
||||
ASSERT (KeyDescriptor != NULL);
|
||||
|
||||
switch (KeyDescriptor->Modifier) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user