]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DEV: coccinelle: add a test to detect unchecked calloc()
authorIlya Shipitsin <chipitsine@gmail.com>
Sat, 24 Aug 2024 13:55:44 +0000 (15:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 24 Aug 2024 17:13:56 +0000 (19:13 +0200)
commit8f2112a04f3f253e56f27b611d044eeab2cd5dae
tree67cbb869b9483d29aac577901528fa601c1bbffc
parent2ec42bff48581a36cdb94bbcf190c68cfa80cbfd
DEV: coccinelle: add a test to detect unchecked calloc()

The coccinelle test "unchecked-calloc.cocci" detects various cases of
unchecked calloc().
dev/coccinelle/unchecked-calloc.cocci [new file with mode: 0644]