Commit 311cf13a authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

msdasql: Check rowset pointer before assignment in ICommandText::Execute.

parent 6b966a88
......@@ -1263,7 +1263,8 @@ static HRESULT WINAPI command_Execute(ICommandText *iface, IUnknown *outer, REFI
return E_FAIL;
}
*rowset = NULL;
if (rowset)
*rowset = NULL;
if (!wcsnicmp( command->query, L"select ", 7 ))
{
msrowset = malloc(sizeof(*msrowset));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment