This changeset fixes a bug on the computation of the buffer
lenght for raw http headers. The bug is due to a mismatch
on the data type of the length (uint8_t vs uint32_t) and it
was causing signature misses.
(cherry picked from commit
0cdc009da1c97784b3c1742b33fa817e9597ea68)
tx_ud->request_headers_raw : tx_ud->response_headers_raw;
if (data == NULL)
return NULL;
- const uint8_t data_len = ts ?
+ const uint32_t data_len = ts ?
tx_ud->request_headers_raw_len : tx_ud->response_headers_raw_len;
InspectionBufferSetup(buffer, data, data_len);