mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 15:38:37 +00:00
[WIN32K:NTUSER] Avoid user memory access outside of SEH in NtUserEnumDisplaySettings.
This commit is contained in:
parent
3d81dc48a7
commit
ef103d7d69
1 changed files with 1 additions and 1 deletions
|
@ -621,7 +621,7 @@ NtUserEnumDisplaySettings(
|
|||
}
|
||||
_SEH2_END;
|
||||
|
||||
if (lpDevMode->dmSize != sizeof(DEVMODEW))
|
||||
if (cbSize != sizeof(DEVMODEW))
|
||||
{
|
||||
return STATUS_BUFFER_TOO_SMALL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue