From f0b97cb1e175eb82fc05821f5e72d9181f046989 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Tue, 10 Jul 2007 11:26:44 -0700 Subject: [PATCH] msi: Check for NULL transform, as there may be no transforms for the _Columns or _Tables tables. --- dlls/msi/table.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dlls/msi/table.c b/dlls/msi/table.c index 3fa8838149..fb414a2f9b 100644 --- a/dlls/msi/table.c +++ b/dlls/msi/table.c @@ -1981,7 +1981,12 @@ static UINT msi_table_load_transform( MSIDATABASE *db, IStorage *stg, MSIRECORD *rec = NULL; UINT colcol = 0; WCHAR coltable[32]; - LPWSTR name = transform->name; + LPWSTR name; + + if (!transform) + return ERROR_SUCCESS; + + name = transform->name; coltable[0] = 0; TRACE("%p %p %p %s\n", db, stg, st, debugstr_w(name) ); -- 2.32.0.93.g670b81a890