projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3d81dc4
)
[WIN32K:NTUSER] Avoid user memory access outside of SEH in NtUserEnumDisplaySettings.
author
Thomas Faber
<thomas.faber@reactos.org>
Sun, 29 Dec 2019 17:51:05 +0000
(18:51 +0100)
committer
Thomas Faber
<thomas.faber@reactos.org>
Sun, 29 Dec 2019 19:08:51 +0000
(20:08 +0100)
win32ss/user/ntuser/display.c
patch
|
blob
|
history
diff --git
a/win32ss/user/ntuser/display.c
b/win32ss/user/ntuser/display.c
index
5295573
..
3c39c05
100644
(file)
--- a/
win32ss/user/ntuser/display.c
+++ b/
win32ss/user/ntuser/display.c
@@
-621,7
+621,7
@@
NtUserEnumDisplaySettings(
}
_SEH2_END;
}
_SEH2_END;
- if (
lpDevMode->dm
Size != sizeof(DEVMODEW))
+ if (
cb
Size != sizeof(DEVMODEW))
{
return STATUS_BUFFER_TOO_SMALL;
}
{
return STATUS_BUFFER_TOO_SMALL;
}