msi: Check for NULL transform, as there may be no transforms for the _Columns or _Tables tables.
This commit is contained in:
parent
a2406b8ca5
commit
f0b97cb1e1
|
@ -1981,7 +1981,12 @@ static UINT msi_table_load_transform( MSIDATABASE *db, IStorage *stg,
|
||||||
MSIRECORD *rec = NULL;
|
MSIRECORD *rec = NULL;
|
||||||
UINT colcol = 0;
|
UINT colcol = 0;
|
||||||
WCHAR coltable[32];
|
WCHAR coltable[32];
|
||||||
LPWSTR name = transform->name;
|
LPWSTR name;
|
||||||
|
|
||||||
|
if (!transform)
|
||||||
|
return ERROR_SUCCESS;
|
||||||
|
|
||||||
|
name = transform->name;
|
||||||
|
|
||||||
coltable[0] = 0;
|
coltable[0] = 0;
|
||||||
TRACE("%p %p %p %s\n", db, stg, st, debugstr_w(name) );
|
TRACE("%p %p %p %s\n", db, stg, st, debugstr_w(name) );
|
||||||
|
|
Loading…
Reference in New Issue