Commit Graph

3 Commits (b0cb4c17ec3e31f53051b5bf6223aaaf45529c4d)

Author SHA1 Message Date
Eric Leblond a597237aed coccinelle: fix malloc test
We can have more than an identifier to be assigned the result of
a malloc function.
13 years ago
Eric Leblond 6e5caf6838 coccinelle: add new correct case to error treatment 14 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.
14 years ago