mirror of https://github.com/OISF/suricata
smtp: fix null deref with config option body md5
Ticket: #6279 If we have the smtp body beginning without headers, we need to create the md5 context and right away and supply data to it. Otherwise, on the next line being processed, md5_ctx will be NULL but body_begin will have been reset to 0pull/9485/head
parent
00e00254ea
commit
c6afee64d5
Loading…
Reference in New Issue