mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:12: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);
|
ProbeForWriteUnicodeString(ClassName);
|
||||||
CapturedClassName = *ClassName;
|
CapturedClassName = *ClassName;
|
||||||
|
if (CapturedClassName.Length != 0)
|
||||||
|
{
|
||||||
|
ProbeForRead(CapturedClassName.Buffer,
|
||||||
|
CapturedClassName.Length,
|
||||||
|
sizeof(WCHAR));
|
||||||
|
}
|
||||||
|
|
||||||
/* Get the class name */
|
/* Get the class name */
|
||||||
Ret = UserGetClassName(Window->pcls,
|
Ret = UserGetClassName(Window->pcls,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue