]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
coccinelle: fix typo for strchrnul 1821/head
authorAndreas Herz <andi@geekosphere.org>
Tue, 19 Jan 2016 20:38:37 +0000 (21:38 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 28 Jan 2016 10:31:48 +0000 (11:31 +0100)
qa/coccinelle/banned-functions.cocci

index 5913521cb38f1615a25a85d0b6c5d31df59d1bc3..bab5e4ee69ed454b2fdff514ede1f754149aa537 100644 (file)
@@ -3,7 +3,7 @@ identifier i;
 position p1;
 @@
 
-\(strtok@i\|sprintf@i\|strcat@i\|strcpy@i\|strncpy@i\|strncat@i\|strndup@i\|strchrdup@i\)(...)@p1
+\(strtok@i\|sprintf@i\|strcat@i\|strcpy@i\|strncpy@i\|strncat@i\|strndup@i\|strchrnul@i\)(...)@p1
 
 @script:python@
 p1 << banned.p1;