ironbee/libhtp — pull request #30 by inliniac (2012-10-05 09:43:28+00:00)
Title: Fix htp_tx_generate_request_headers_raw null dereference.

Fix null dereference found in a Suricata unittest DetectHttpRawHeaderTest07 (https://github.com/inliniac/suricata/blob/master/src/detect-http-raw-header.c#L480). The htp_tx_generate_request_headers_raw function is called on an incomplete request from the Suricata detection engine, leading to a null dereference as htp_tx_generate_request_headers_raw assumes tx->request_headers_sep to be initiallized.