mirror of
https://github.com/curl/curl.git
synced 2026-07-05 13:07:20 +03:00
checksrc: detect strtok() use
... as that function slipped through once before.
This commit is contained in:
parent
8fa20da8e1
commit
5871dfcc16
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue