]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect-http: add superfluous alloc check for cocci
authorJason Ish <jason.ish@oisf.net>
Thu, 8 Feb 2024 19:21:11 +0000 (13:21 -0600)
committerVictor Julien <victor@inliniac.net>
Fri, 9 Feb 2024 10:24:04 +0000 (11:24 +0100)
commitf800ed0f901488d19fccf858ba0711792bf407ff
tree12689fc51b712731e7d0a8b4b3d980ee33caef01
parent68b0052018079adc11ea1e35ab686c30716a8aad
detect-http: add superfluous alloc check for cocci

Add not-needed SCCalloc return check to satisfy our Cocci malloc
checks as it can't see that the caller immediately checks the return
value of this simple wrapper around SCCalloc.
src/detect-http-header.c