Merge pull request #6029 from atorralba/atorralba/tainted-key-read-steps

Java: Add Map key-read-steps as local additional taint steps
This commit is contained in:
Anders Schack-Mulligen
2021-06-11 13:14:18 +02:00
committed by GitHub
2 changed files with 3 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
lgtm,codescanning
* Data flow now propagates taint from tainted Maps to read steps of their keys (e.g. `tainted.keySet()`).

View File

@@ -69,6 +69,7 @@ private module Cached {
|
f instanceof ArrayContent or
f instanceof CollectionContent or
f instanceof MapKeyContent or
f instanceof MapValueContent
)
or