Skip to content

Commit cf9b69b

Browse files
authored
python: More helpful comment
1 parent b0a29b1 commit cf9b69b

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
@@ -119,7 +119,7 @@ module TarSlip {
119119
attr.getName() = "name" and
120120
attr.getObject() = tarInfo
121121
|
122-
// Assume that any test with "path" in it is a sanitizer
122+
// The assumption that any test that matches %path is a sanitizer might be too broad.
123123
call.getAChild*().(AttrNode).getName().matches("%path")
124124
or
125125
call.getAChild*().(NameNode).getId().matches("%path")

0 commit comments

Comments
 (0)