]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DEV: coccinelle: add a test to detect unchecked strdup()
authorIlia Shipitsin <chipitsine@gmail.com>
Mon, 5 Aug 2024 18:59:09 +0000 (20:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 6 Aug 2024 06:21:49 +0000 (08:21 +0200)
commit661e1db826cc3dd99c5acc5ad768bb7e28fe59d3
treeba281d06074506c01ea19f75f38c2a4d971dc282
parenteb1a097a6687cd8b93d981eff3d7e257c448ff3e
DEV: coccinelle: add a test to detect unchecked strdup()

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