]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DEV: coccinelle: Fix incorrect replacement in ist.cocci
authorTim Duesterhus <tim@bastelstu.be>
Tue, 15 Mar 2022 12:11:05 +0000 (13:11 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 21 Mar 2022 07:30:47 +0000 (08:30 +0100)
commit99f47377c86987da550ac1ea393eda72fdc7acd8
tree0264360896e397863f7e863873b5c76e75b39629
parentab398d8ff9d656c6ea81892de39867a7c6c8774c
DEV: coccinelle: Fix incorrect replacement in ist.cocci

We must not use `ist2()` if the value of `i.len` is derived from the value of
`i.ptr`:

    i.ptr = "foo";
    i.len = strlen(i.ptr);
dev/coccinelle/ist.cocci