Skip to content

Commit 400a8ff

Browse files
committed
Python: Use slightly better name than foobar
I intended to rename before committing, but woops
1 parent bfa7553 commit 400a8ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

python/ql/src/semmle/python/security/strings/External.qll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,12 @@ class UrlsplitUrlparseTempSanitizer extends Sanitizer {
218218
or
219219
taint instanceof ExternalUrlParseResult
220220
) and
221-
exists(ControlFlowNode foobar |
222-
foobar.(SubscriptNode).getObject() = test.getInput().getAUse()
221+
exists(ControlFlowNode full_use |
222+
full_use.(SubscriptNode).getObject() = test.getInput().getAUse()
223223
or
224-
foobar.(AttrNode).getObject() = test.getInput().getAUse()
224+
full_use.(AttrNode).getObject() = test.getInput().getAUse()
225225
|
226-
clears_taint(_, foobar, test.getTest(), test.getSense())
226+
clears_taint(_, full_use, test.getTest(), test.getSense())
227227
)
228228
}
229229

0 commit comments

Comments
 (0)