From 8492cfb61119c74687b517e26dc45d093ad41e4e Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Thu, 23 Apr 2015 19:56:02 +0000 Subject: [PATCH] [MSI] - 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/msi/table.c b/reactos/dll/win32/msi/table.c index db536dc7880..a5ac8bd9a68 100644 --- a/reactos/dll/win32/msi/table.c +++ b/reactos/dll/win32/msi/table.c @@ -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; -- 2.17.1