Author: hbelusca
Date: Mon Jun 19 20:14:09 2017
New Revision: 75143
URL:
http://svn.reactos.org/svn/reactos?rev=75143&view=rev
Log:
[CMLIB][NTOS]: Use correct parameter type for the 4th parameter of CmpGetValueData().
[CMLIB]: Fix debug.h inclusion.
[NTOS]: Use RtlCopyUnicodeString() to initialize the contents of FullName.
Modified:
trunk/reactos/ntoskrnl/config/cminit.c
trunk/reactos/ntoskrnl/config/cmparse.c
trunk/reactos/sdk/lib/cmlib/cmkeydel.c
trunk/reactos/sdk/lib/cmlib/cmse.c
trunk/reactos/sdk/lib/cmlib/cmvalue.c
Modified: trunk/reactos/ntoskrnl/config/cminit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cminit.c?r…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cminit.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/config/cminit.c [iso-8859-1] Mon Jun 19 20:14:09 2017
@@ -309,7 +309,7 @@
/* Build the full name */
FullName.Buffer = NameBuffer;
FullName.MaximumLength = Length;
- RtlAppendUnicodeStringToString(&FullName, BaseName);
+ RtlCopyUnicodeString(&FullName, BaseName);
}
else
{
Modified: trunk/reactos/ntoskrnl/config/cmparse.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmparse.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmparse.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/config/cmparse.c [iso-8859-1] Mon Jun 19 20:14:09 2017
@@ -112,7 +112,7 @@
if (!CmpGetValueData(Hive,
LinkValue,
&ValueLength,
- (PVOID)&LinkName,
+ (PVOID*)&LinkName,
&LinkNameAllocated,
&CellToRelease))
{
Modified: trunk/reactos/sdk/lib/cmlib/cmkeydel.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/cmlib/cmkeydel.c?r…
==============================================================================
--- trunk/reactos/sdk/lib/cmlib/cmkeydel.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/cmlib/cmkeydel.c [iso-8859-1] Mon Jun 19 20:14:09 2017
@@ -10,7 +10,7 @@
#include "cmlib.h"
#define NDEBUG
-#include "debug.h"
+#include <debug.h>
/* FUNCTIONS *****************************************************************/
Modified: trunk/reactos/sdk/lib/cmlib/cmse.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/cmlib/cmse.c?rev=7…
==============================================================================
--- trunk/reactos/sdk/lib/cmlib/cmse.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/cmlib/cmse.c [iso-8859-1] Mon Jun 19 20:14:09 2017
@@ -10,7 +10,7 @@
#include "cmlib.h"
#define NDEBUG
-#include "debug.h"
+#include <debug.h>
/* FUNCTIONS *****************************************************************/
Modified: trunk/reactos/sdk/lib/cmlib/cmvalue.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/cmlib/cmvalue.c?re…
==============================================================================
--- trunk/reactos/sdk/lib/cmlib/cmvalue.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/cmlib/cmvalue.c [iso-8859-1] Mon Jun 19 20:14:09 2017
@@ -180,7 +180,7 @@
if (!CmpGetValueData(Hive,
Value,
Length,
- (PVOID)&Buffer,
+ (PVOID*)&Buffer,
&BufferAllocated,
&CellToRelease))
{