Copy the correct value if the value is stored directly in the data pointer (in CmiExp...
authorHartmut Birr <osexpert@googlemail.com>
Tue, 3 Jan 2006 14:56:47 +0000 (14:56 +0000)
committerHartmut Birr <osexpert@googlemail.com>
Tue, 3 Jan 2006 14:56:47 +0000 (14:56 +0000)
svn path=/trunk/; revision=20545

reactos/boot/freeldr/freeldr/reactos/binhive.c

index f9ea51f..4b8cd0f 100644 (file)
@@ -1079,7 +1079,7 @@ CmiExportValue (PREGISTRY_HIVE Hive,
       ValueCell->DataSize = DataSize | REG_DATA_IN_OFFSET;
       ValueCell->DataType = DataType;
       memcpy (&ValueCell->DataOffset,
-             Data,
+             &Data,
              DataSize);
     }
   else