mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 04:11:30 +00:00
[NTOS:INBV] Do not ignore RtlUnicodeStringToOemString return value
CORE-17637
This commit is contained in:
parent
838abc475c
commit
230e6b9492
|
@ -960,7 +960,12 @@ NtDisplayString(IN PUNICODE_STRING DisplayString)
|
||||||
Status = STATUS_NO_MEMORY;
|
Status = STATUS_NO_MEMORY;
|
||||||
goto Quit;
|
goto Quit;
|
||||||
}
|
}
|
||||||
RtlUnicodeStringToOemString(&OemString, &CapturedString, FALSE);
|
Status = RtlUnicodeStringToOemString(&OemString, &CapturedString, FALSE);
|
||||||
|
if (!NT_SUCCESS(Status))
|
||||||
|
{
|
||||||
|
ExFreePoolWithTag(OemString.Buffer, TAG_OSTR);
|
||||||
|
goto Quit;
|
||||||
|
}
|
||||||
|
|
||||||
/* Display the string */
|
/* Display the string */
|
||||||
InbvDisplayString(OemString.Buffer);
|
InbvDisplayString(OemString.Buffer);
|
||||||
|
|
Loading…
Reference in a new issue