mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Fixed a terminating NULL in IoRegisterDeviceInterface.
svn path=/trunk/; revision=17397
This commit is contained in:
parent
a0fb1d3891
commit
8bb6155fdb
1 changed files with 1 additions and 1 deletions
|
@ -815,7 +815,7 @@ IoRegisterDeviceInterface(
|
||||||
RtlAppendUnicodeToString(SymbolicLinkName, L"\\");
|
RtlAppendUnicodeToString(SymbolicLinkName, L"\\");
|
||||||
RtlAppendUnicodeStringToString(SymbolicLinkName, ReferenceString);
|
RtlAppendUnicodeStringToString(SymbolicLinkName, ReferenceString);
|
||||||
}
|
}
|
||||||
SymbolicLinkName->Buffer[SymbolicLinkName->Length] = '\0';
|
SymbolicLinkName->Buffer[SymbolicLinkName->Length/sizeof(WCHAR)] = L'\0';
|
||||||
|
|
||||||
/* Create symbolic link */
|
/* Create symbolic link */
|
||||||
DPRINT("IoRegisterDeviceInterface(): creating symbolic link %wZ -> %wZ\n", SymbolicLinkName, &PdoNameInfo->Name);
|
DPRINT("IoRegisterDeviceInterface(): creating symbolic link %wZ -> %wZ\n", SymbolicLinkName, &PdoNameInfo->Name);
|
||||||
|
|
Loading…
Reference in a new issue