We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 361b703 commit bfbc1d4Copy full SHA for bfbc1d4
1 file changed
go/ql/src/experimental/CWE-321/HardcodedKeysLib.qll
@@ -237,10 +237,7 @@ module HardcodedKeys {
237
)
238
|
239
TaintTracking::localTaint(randomValue, index) and
240
- (
241
- this.(DataFlow::ElementReadNode).reads(_, randomValue) or
242
- any(DataFlow::ElementReadNode r).reads(this, index)
243
- )
+ this.(DataFlow::ElementReadNode).reads(_, index)
244
245
}
246
0 commit comments