msi: Fail if stg is NULL
James Hawkins
truiken at gmail.com
Tue Dec 5 05:44:09 CST 2006
Hi,
Changelog:
* Fail if stg is NULL.
dlls/msi/database.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
James Hawkins
-------------- next part --------------
diff --git a/dlls/msi/database.c b/dlls/msi/database.c
index 8abed5c..4ef8e85 100644
--- a/dlls/msi/database.c
+++ b/dlls/msi/database.c
@@ -136,7 +136,7 @@ UINT MSI_OpenDatabaseW(LPCWSTR szDBPath,
return ERROR_INVALID_PARAMETER;
}
- if( FAILED( r ) )
+ if( FAILED( r ) || !stg )
{
FIXME("open failed r = %08x!\n",r);
return ERROR_FUNCTION_FAILED;
--
1.4.2.4
More information about the wine-patches
mailing list