Skip to content

Commit 6c0d47f

Browse files
Update java/ql/lib/semmle/code/java/frameworks/InputStream.qll
Co-authored-by: Anders Schack-Mulligen <[email protected]>
1 parent 4e7438a commit 6c0d47f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

java/ql/lib/semmle/code/java/frameworks/InputStream.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ private class InputStreamWrapperCapturedJumpStep extends AdditionalTaintStep {
3939
*/
4040
private class InputStreamWrapperCapturedLocalStep extends AdditionalTaintStep {
4141
override predicate step(DataFlow::Node n1, DataFlow::Node n2) {
42-
n1.getEnclosingCallable() = n2.getEnclosingCallable() and
4342
exists(InputStreamRead m, NestedClass wrapper, SsaVariable captured, SsaImplicitInit capturer |
4443
wrapper.getASourceSupertype+() instanceof TypeInputStream and
4544
m.getDeclaringType() = wrapper and

0 commit comments

Comments
 (0)