mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Simplify redundant sanitizer
This commit is contained in:
@@ -237,10 +237,7 @@ module HardcodedKeys {
|
||||
)
|
||||
|
|
||||
TaintTracking::localTaint(randomValue, index) and
|
||||
(
|
||||
this.(DataFlow::ElementReadNode).reads(_, randomValue) or
|
||||
any(DataFlow::ElementReadNode r).reads(this, index)
|
||||
)
|
||||
this.(DataFlow::ElementReadNode).reads(_, index)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user