aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-09-07 09:26:00 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-09-07 10:41:57 +0200
commit5871dfcc16e07be462a3e090994abc6f82b65f01 (patch)
tree0770d0412d62f11b3b8e86a763f87d7a90a6633c
parent8fa20da8e1a2f38440610221576ff027eb0c7e5e (diff)
checksrc: detect strtok() use
... as that function slipped through once before.
-rwxr-xr-xlib/checksrc.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/checksrc.pl b/lib/checksrc.pl
index f31083a63..83c38b239 100755
--- a/lib/checksrc.pl
+++ b/lib/checksrc.pl
@@ -423,6 +423,7 @@ sub scanfile {
# scan for use of banned functions
if($l =~ /^(.*\W)
(gets|
+ strtok|
v?sprintf|
(str|_mbs|_tcs|_wcs)n?cat|
LoadLibrary(Ex)?(A|W)?)