Python: Test false negative from review

This commit is contained in:
Rasmus Lerchedahl Petersen
2020-10-27 08:30:16 +01:00
parent b6313dddb9
commit 2baed20067

View File

@@ -2,3 +2,7 @@ s = "taintedString"
if s.startswith("tainted"): # $checks=s $branch=true
pass
sw = s.startswith # $f-:checks=s $f-:branch=true
if sw("safe"):
pass