Mike McCormack : msi: Fix possible free of uninitialized pointer.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Apr 7 05:04:35 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 85e8d3adf8820fa43e7998700a34e0e08907eca2
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=85e8d3adf8820fa43e7998700a34e0e08907eca2

Author: Mike McCormack <mike at codeweavers.com>
Date:   Fri Apr  7 13:29:56 2006 +0900

msi: Fix possible free of uninitialized pointer.

---

 dlls/msi/table.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msi/table.c b/dlls/msi/table.c
index 8ce24fa..167dd81 100644
--- a/dlls/msi/table.c
+++ b/dlls/msi/table.c
@@ -683,8 +683,8 @@ HRESULT init_string_table( IStorage *stg
 string_table *load_string_table( IStorage *stg )
 {
     string_table *st = NULL;
-    CHAR *data;
-    USHORT *pool;
+    CHAR *data = NULL;
+    USHORT *pool = NULL;
     UINT r, datasize = 0, poolsize = 0, codepage;
     DWORD i, count, offset, len, n;
     static const WCHAR szStringData[] = {




More information about the wine-cvs mailing list