reactos/ntoskrnl/io
Hermès Bélusca-Maïto 0e01cbc6cd
[NTOS:IO] IoVolumeDeviceToDosName(): Fix returned DosName buffer initialization (#6990)
The VolumePath buffer returned by IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATH
contains one string stored as a multi-NUL-terminated string, whose
total length is given by its `MultiSzLength` member.

The DosName UNICODE_STRING just returns the (single) string as a normal
NUL-terminated string. So, we need to remove the two NUL-terminators
from the `MultiSzLength` count to retrieve the correct length.
2025-01-21 19:16:03 +01:00
..
iomgr [NTOS:IO] IoVolumeDeviceToDosName(): Fix returned DosName buffer initialization (#6990) 2025-01-21 19:16:03 +01:00
pnpmgr [NTOS:PNP] Don't use a pointer to a stack structure in a work-item 2024-10-10 20:28:59 +03:00
debug.c
pnpio.h