]> git.ipfire.org Git - thirdparty/suricata.git/commit
coccinelle: add tcp flag check 341/head
authorEric Leblond <eric@regit.org>
Mon, 8 Apr 2013 17:16:31 +0000 (19:16 +0200)
committerEric Leblond <eric@regit.org>
Tue, 9 Apr 2013 07:09:26 +0000 (09:09 +0200)
commitc9d90e6596eabe1b914b35821024779962b270d4
treea6e873a0af8bfd5400681f1a872f596b70b34c18
parentb8078742c3da82164202621a72810aa15cdbc6d6
coccinelle: add tcp flag check

The different TCP related structures have all a flags field and its
value must match the type of structure. This patch adds a check
alerting on invalid value usage.
qa/coccinelle/tcp-struct-flags.cocci [new file with mode: 0644]