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,6 +1263,7 @@ static HRESULT WINAPI command_Execute(ICommandText *iface, IUnknown *outer, REFI ...@@ -1263,6 +1263,7 @@ static HRESULT WINAPI command_Execute(ICommandText *iface, IUnknown *outer, REFI
return E_FAIL; return E_FAIL;
} }
if (rowset)
*rowset = NULL; *rowset = NULL;
if (!wcsnicmp( command->query, L"select ", 7 )) if (!wcsnicmp( command->query, L"select ", 7 ))
{ {
......
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