mirror of
https://github.com/reactos/reactos.git
synced 2026-06-06 13:47:40 +08:00
set the MaximumLength in ProbeAndCaptureUnicodeString
svn path=/trunk/; revision=19793
This commit is contained in:
@@ -188,6 +188,7 @@ ProbeAndCaptureUnicodeString(OUT PUNICODE_STRING Dest,
|
||||
|
||||
/* Set it as the buffer */
|
||||
Dest->Buffer = Buffer;
|
||||
Dest->MaximumLength = Dest->Length + sizeof(WCHAR);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user