Commit Graph

4 Commits (6c594d29db55bb0d6f28f0a5fa758c3e00a86ca1)

Author SHA1 Message Date
Victor Julien 80a3bbef3d qa/cocci: support FAIL macros in malloc check 4 years ago
Eric Leblond a597237aed coccinelle: fix malloc test
We can have more than an identifier to be assigned the result of
a malloc function.
11 years ago
Eric Leblond 6e5caf6838 coccinelle: add new correct case to error treatment 12 years ago
Eric Leblond 28ca36acf7 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.
13 years ago