mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 20:02:55 +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;
|
||||
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 */
|
||||
InbvDisplayString(OemString.Buffer);
|
||||
|
|
Loading…
Reference in a new issue