Author: sginsberg
Date: Sun Aug 3 03:53:27 2008
New Revision: 35059
URL:
http://svn.reactos.org/svn/reactos?rev=35059&view=rev
Log:
- Use RtlCopyUnicodeString instead of RtlInitUnicodeString when copying a string
Modified:
trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c
Modified: trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/kdbg/kdb_symbols.…
==============================================================================
--- trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c [iso-8859-1] Sun Aug 3 03:53:27 2008
@@ -354,7 +354,7 @@
CacheEntry->FileName.Buffer = ExAllocatePoolWithTag(NonPagedPool,
FileName->Length,
TAG_KDBS);
- RtlInitUnicodeString(&CacheEntry->FileName, FileName->Buffer);
+ RtlCopyUnicodeString(&CacheEntry->FileName, FileName);
ASSERT(CacheEntry->FileName.Buffer);
CacheEntry->RefCount = 1;
CacheEntry->RosSymInfo = RosSymInfo;