Commit 0fd3b8ad authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

mshtml: Handle empty status text when processing the response.

parent 239b5726
......@@ -1690,7 +1690,8 @@ static HRESULT process_response_status_text(const WCHAR *header, const WCHAR *he
return E_FAIL;
header = wcschr(header + 1, ' ');
if(!header || header >= header_end)
return E_FAIL;
header = header_end;
else
++header;
*status_text = heap_strndupWtoU(header, header_end - header);
......
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