]> git.ipfire.org Git - people/ms/suricata.git/commit
detect-mqtt: unify error handling in rule parsing
authorSascha Steinbiss <satta@debian.org>
Mon, 3 Aug 2020 08:27:26 +0000 (10:27 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 4 Aug 2020 09:23:12 +0000 (11:23 +0200)
commit93eef1da842f90270f0a7e00df107b4dbb087230
tree866c45e31623af907b8e6dd65723a1060bb3d0e3
parent5dc21b0e0905dfcd1d221f45e38c585875f1f21a
detect-mqtt: unify error handling in rule parsing

This is meant to provide a single path to the error case.
This might help make things more clear for static
checkers.
src/detect-mqtt-connack-sessionpresent.c
src/detect-mqtt-connect-flags.c
src/detect-mqtt-flags.c