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

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