mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 04:03:56 +00:00
[WIN32K:NTUSER] Add missing probe in NtUserGetClassName.
This commit is contained in:
parent
771b87dc8f
commit
be92be2e37
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue