mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Fixed a terminating NULL in IoRegisterDeviceInterface.
svn path=/trunk/; revision=17397
This commit is contained in:
@@ -815,7 +815,7 @@ IoRegisterDeviceInterface(
|
||||
RtlAppendUnicodeToString(SymbolicLinkName, L"\\");
|
||||
RtlAppendUnicodeStringToString(SymbolicLinkName, ReferenceString);
|
||||
}
|
||||
SymbolicLinkName->Buffer[SymbolicLinkName->Length] = '\0';
|
||||
SymbolicLinkName->Buffer[SymbolicLinkName->Length/sizeof(WCHAR)] = L'\0';
|
||||
|
||||
/* Create symbolic link */
|
||||
DPRINT("IoRegisterDeviceInterface(): creating symbolic link %wZ -> %wZ\n", SymbolicLinkName, &PdoNameInfo->Name);
|
||||
|
||||
Reference in New Issue
Block a user