Module: wine Branch: master Commit: 9d9b564e4b9d533fa700f402e6be8ba91c132bce URL: https://gitlab.winehq.org/wine/wine/-/commit/9d9b564e4b9d533fa700f402e6be8ba...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Thu Jul 28 17:22:27 2022 +0300
ntdll/tests: Add a bunch of tests for creating kernel objects with the names containing '\0'.
As the tests show after creating a kernel object with name "wine_test\0" it's possible to only open it as "wine_test\0", an attempt opening it as "wine_test" fails with STATUS_OBJECT_NAME_NOT_FOUND, and vice versa. Also the tests show that "wine\0test" is a valid kernel object name.
Signed-off-by: Dmitry Timoshkov dmitry@baikal.ru Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/ntdll/tests/om.c | 350 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 349 insertions(+), 1 deletion(-)