[MSI]
authorThomas Faber <thomas.faber@reactos.org>
Thu, 23 Apr 2015 19:56:02 +0000 (19:56 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Thu, 23 Apr 2015 19:56:02 +0000 (19:56 +0000)
- Apply Wine commit 55b678e1 (msi: Fix an invalid memory access (valgrind).) by Hans Leidekker

svn path=/trunk/; revision=67372

reactos/dll/win32/msi/table.c

index db536dc..a5ac8bd 100644 (file)
@@ -882,7 +882,7 @@ static UINT save_table( MSIDATABASE *db, const MSITABLE *t, UINT bytes_per_strre
     }
 
     rawsize = 0;
-    for (i = 0; i < t->row_count; i++)
+    for (i = 0; i < row_count; i++)
     {
         UINT ofs = 0, ofs_mem = 0;