mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 14:34:57 +08:00
[WIN32K:NTUSER] Add missing probe in NtUserGetClassName.
This commit is contained in:
@@ -2815,6 +2815,12 @@ NtUserGetClassName (IN HWND hWnd,
|
||||
{
|
||||
ProbeForWriteUnicodeString(ClassName);
|
||||
CapturedClassName = *ClassName;
|
||||
if (CapturedClassName.Length != 0)
|
||||
{
|
||||
ProbeForRead(CapturedClassName.Buffer,
|
||||
CapturedClassName.Length,
|
||||
sizeof(WCHAR));
|
||||
}
|
||||
|
||||
/* Get the class name */
|
||||
Ret = UserGetClassName(Window->pcls,
|
||||
|
||||
Reference in New Issue
Block a user