[NTOS:IO] Fail if the driver name passed to NtLoadDriver() is an empty string.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 26 Dec 2020 23:33:32 +0000 (00:33 +0100)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 26 Dec 2020 23:52:00 +0000 (00:52 +0100)
commita748350fc9c342149e7f8dc798a6c696f4ec9ef3
treeb0eb2483e6fb49ff5e7a080e1e643df265be7038
parent44511f0809aa57051e1c927f3090111ec663aaa6
[NTOS:IO] Fail if the driver name passed to NtLoadDriver() is an empty string.

Otherwise an assertion on the driver name is hit later on.
Can be reproduced by calling NtLoadDriver with a valid UNICODE_STRING
of Length == 0.
ntoskrnl/io/iomgr/driver.c