Project

General

Profile

Bug #138 ยป 0001-fixed-type-in-htp-bug-138.patch

Gurvinder Singh, 05/02/2010 12:34 AM

View differences:

src/app-layer-htp.c
hstate->body.operation = HTP_BODY_RESPONSE;
hstate->body.pcre_flags = HTP_PCRE_NONE;
/* Clear the trasactions which are processed by the engine from libhtp.
This helps in reducing the meory consumptions of libhtp */
/* Clear the transactions which are processed by the engine from libhtp.
This helps in reducing the memory consumptions of libhtp */
for (idx = 0; idx < hstate->new_in_tx_index; idx++) {
htp_tx_t *tx = list_get(hstate->connp->conn->transactions, idx);
if (tx != NULL)
    (1-1/1)