mirror of
https://github.com/reactos/reactos.git
synced 2024-10-16 14:15:50 +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 */
|
/* Set it as the buffer */
|
||||||
Dest->Buffer = Buffer;
|
Dest->Buffer = Buffer;
|
||||||
|
Dest->MaximumLength = Dest->Length + sizeof(WCHAR);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue