]> git.ipfire.org Git - thirdparty/suricata.git/commit
coccinelle: add test on malloc error check. 91/head
authorEric Leblond <eric@regit.org>
Fri, 21 Sep 2012 10:47:44 +0000 (12:47 +0200)
committerEric Leblond <eric@regit.org>
Tue, 25 Sep 2012 14:24:40 +0000 (16:24 +0200)
commit28ca36acf770ef797df306687af8d2c38bedecc1
treedd2b224d17162c27f882c9d5d200b6482a4e195a
parent9f135728433d91c9a02381caaf2f2d4404843171
coccinelle: add test on malloc error check.

This patch adds a coccinelle code check on SCMalloc, SCCalloc and
SCStrdup and other memory handling functions. It verifies that the
error checking is made.
qa/coccinelle/malloc-error-check.cocci [new file with mode: 0644]