Skip to content

Commit ac0c8d2

Browse files
authored
python: only clear taint on false-edge
1 parent 834d260 commit ac0c8d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/lib/semmle/python/security/dataflow/TarSlipCustomizations.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ module TarSlip {
131131
or
132132
call.getAChild*().(NameNode).getId().matches("%path")
133133
) and
134-
branch in [true, false]
134+
branch = false
135135
}
136136

137137
/**

0 commit comments

Comments
 (0)