mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[I8042PRT]
- Fix potential buffer overflow svn path=/trunk/; revision=48849
This commit is contained in:
parent
9b07516436
commit
cf358ed153
1 changed files with 1 additions and 1 deletions
|
@ -492,7 +492,7 @@ cleanup:
|
|||
{
|
||||
PINTERNAL_I8042_HOOK_MOUSE MouseHook;
|
||||
TRACE_(I8042PRT, "IRP_MJ_INTERNAL_DEVICE_CONTROL / IOCTL_INTERNAL_I8042_HOOK_MOUSE\n");
|
||||
if (Stack->Parameters.DeviceIoControl.InputBufferLength < sizeof(CONNECT_DATA))
|
||||
if (Stack->Parameters.DeviceIoControl.InputBufferLength < sizeof(INTERNAL_I8042_HOOK_MOUSE))
|
||||
{
|
||||
Status = STATUS_INVALID_PARAMETER;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue