Skip to content
Snippets Groups Projects
Commit 32d4ea16 authored by Constantin P.'s avatar Constantin P. 💬
Browse files

Merge branch 'hotfix-13016-2' into 'master'

Segv fixed

See merge request !374
parents 6de88385 094c0b6d
No related branches found
No related tags found
1 merge request!374Segv fixed
Pipeline #44273 canceled with stage
......@@ -569,6 +569,8 @@ bool dap_http_client_write_callback(dap_events_socket_t *a_esocket, void *a_arg)
{
dap_return_val_if_fail(a_esocket, false);
dap_http_client_t *l_http_client = DAP_HTTP_CLIENT(a_esocket);
if (!l_http_client)
return false;
if (l_http_client->reply_status_code != Http_Status_OK || l_http_client->state_read == DAP_HTTP_CLIENT_STATE_NONE) {
// No write data if error code set
l_http_client->esocket->flags |= DAP_SOCK_SIGNAL_CLOSE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment