mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 19:26:16 +00:00
[NTOS]
- Device interface strings are null terminated svn path=/trunk/; revision=46748
This commit is contained in:
@@ -661,12 +661,6 @@ IoGetDeviceInterfaces(IN CONST GUID *InterfaceClassGuid,
|
||||
DPRINT("RtlAppendUnicodeStringToString() failed with status 0x%08lx\n", Status);
|
||||
goto cleanup;
|
||||
}
|
||||
/* RtlAppendUnicodeStringToString added a NULL at the end of the
|
||||
* destination string, but didn't increase the Length field.
|
||||
* Do it for it.
|
||||
*/
|
||||
ReturnBuffer.Length += sizeof(WCHAR);
|
||||
|
||||
NextReferenceString:
|
||||
ExFreePool(ReferenceBi);
|
||||
ReferenceBi = NULL;
|
||||
|
||||
Reference in New Issue
Block a user