mirror of
https://github.com/reactos/reactos.git
synced 2024-10-16 06:04:13 +00:00
set the MaximumLength in ProbeAndCaptureUnicodeString
svn path=/trunk/; revision=19793
This commit is contained in:
parent
a3d1f19ffd
commit
5073c262ee
|
@ -188,6 +188,7 @@ ProbeAndCaptureUnicodeString(OUT PUNICODE_STRING Dest,
|
|||
|
||||
/* Set it as the buffer */
|
||||
Dest->Buffer = Buffer;
|
||||
Dest->MaximumLength = Dest->Length + sizeof(WCHAR);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue