checksrc: detect strtok() use

... as that function slipped through once before.
This commit is contained in:
Daniel Stenberg 2016-09-07 09:26:00 +02:00
parent 8fa20da8e1
commit 5871dfcc16

View File

@ -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)?)