[NTOS]: Capture the counted BaseDllName unicode string into a local NULL-terminated...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 7 May 2017 18:15:12 +0000 (18:15 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 7 May 2017 18:15:12 +0000 (18:15 +0000)
commit837c766030ff147140f068ad4d1e3919a9d93f7a
treec0588bbe74f4b330c26d4d4ef69a41363497aeee
parent2b8120a968bdfa60054b255d480bcd2676f3325a
[NTOS]: Capture the counted BaseDllName unicode string into a local NULL-terminated buffer before calling wcsrchr on it (actually I think it would be better to create & use a similar function that takes counted strings in input).
Also use 'L' prefix for wide characters and UNICODE_NULL for string terminator.
Patch by Lesan Ilie.
CORE-13208 #resolve

svn path=/trunk/; revision=74493
reactos/ntoskrnl/io/iomgr/driver.c