Commit 5871dfcc authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

checksrc: detect strtok() use

... as that function slipped through once before.
parent 8fa20da8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)?)