]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/integers: harmonize parser return handling 11506/head
authorPhilippe Antoine <pantoine@oisf.net>
Mon, 15 Jul 2024 07:23:06 +0000 (09:23 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 15 Jul 2024 12:25:36 +0000 (14:25 +0200)
commitdaad7f2d417bb730e51df142fb837d216938089f
tree4f0dc261649fd071e93f9a7d930561057a050c34
parentfcc1b1067b5e4c3b9b063ab90fa073de57577968
detect/integers: harmonize parser return handling

Ticket: 7172

When parsing an integer for a rule keyword fails, we return error
straight away, without bothering to try to free the NULL pointer.

On the way, remove some one-line wrapper around DetectUxParse
src/detect-bsize.c
src/detect-dsize.c
src/detect-filesize.c
src/detect-icode.c
src/detect-itype.c
src/detect-rfb-sectype.c
src/tests/detect-bsize.c