mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[NTOSKRNL]
- Revert r46682 - The NULL terminator is not supposed to be included in the length - Fixes corruption when printing the symbolic link svn path=/trunk/; revision=47028
This commit is contained in:
parent
b5a39d6dd1
commit
770cc844b0
1 changed files with 0 additions and 1 deletions
|
@ -1055,7 +1055,6 @@ IoRegisterDeviceInterface(IN PDEVICE_OBJECT PhysicalDeviceObject,
|
|||
RtlAppendUnicodeStringToString(SymbolicLinkName, ReferenceString);
|
||||
}
|
||||
SymbolicLinkName->Buffer[SymbolicLinkName->Length/sizeof(WCHAR)] = L'\0';
|
||||
SymbolicLinkName->Length += sizeof(WCHAR);
|
||||
|
||||
/* Write symbolic link name in registry */
|
||||
SymbolicLinkName->Buffer[1] = '\\';
|
||||
|
|
Loading…
Reference in a new issue