mirror of
https://github.com/curl/curl.git
synced 2025-03-31 16:00:35 +08:00
checksrc: detect strtok() use
... as that function slipped through once before.
This commit is contained in:
parent
8fa20da8e1
commit
5871dfcc16
@ -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)?)
|
||||
|
Loading…
x
Reference in New Issue
Block a user