Project

General

Profile

Bug #2260 » status_code_hotfix.patch

Anonymous, 11/02/2017 10:31 AM

View differences:

htp/htp_response.c
connp->out_state = htp_connp_RES_BODY_IDENTITY_STREAM_CLOSE;
connp->out_body_data_left = -1;
// Clean up res line.
bstr_free(connp->out_tx->response_line);
connp->out_tx->response_line = NULL;
bstr_free(connp->out_tx->response_protocol);
connp->out_tx->response_protocol = NULL;
bstr_free(connp->out_tx->response_status);
connp->out_tx->response_status = NULL;
bstr_free(connp->out_tx->response_message);
connp->out_tx->response_message = NULL;
return HTP_OK;
}
(2-2/2)