[NTOS] Fixes for NtDisplayString().
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 20 Dec 2018 02:32:08 +0000 (03:32 +0100)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 20 Dec 2018 02:47:36 +0000 (03:47 +0100)
commit03873aeef396eca773283a71257967b8c0ec7b4b
treed72d556c92ceb3f3dbf7fd6502417b1470883c7c
parent25d076789a21a7937b408c4ef6632fed4d2a9526
[NTOS] Fixes for NtDisplayString().

- Require the user to have TCB privilege for using this function.
- Probe and capture the user-provided string (and avoid usermode-triggered BSODS ;-)
- Allocate the OEM-converted string in *NonPagedPool* because we are
  going to transmit the buffer to BOOTVID.
ntoskrnl/inbv/inbv.c