mirror of
https://github.com/reactos/reactos.git
synced 2024-11-28 05:53:31 +08:00
[WIN32K:NTUSER] Add missing probe in NtUserGetClassName.
This commit is contained in:
parent
771b87dc8f
commit
be92be2e37
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user