Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 936757b

Browse files
yoffRasmusWL
andauthored
Update python/ql/src/Security/CWE-327/FluentApiModel.qll
Co-authored-by: Rasmus Wriedt Larsen <[email protected]>
1 parent 54dad57 commit 936757b

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

python/ql/src/Security/CWE-327/FluentApiModel.qll

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,7 @@ class InsecureContextConfiguration extends DataFlow::Configuration {
3939
)
4040
}
4141

42-
override predicate isBarrierIn(DataFlow::Node node) {
43-
exists(ProtocolUnrestriction r |
44-
r = library.protocol_unrestriction() and
45-
node = r.getContext() and
46-
r.getUnrestriction() = tracked_version
47-
)
48-
}
42+
override predicate isBarrierIn(DataFlow::Node node) { this.isSource(node) }
4943
}
5044

5145
/**

0 commit comments

Comments
 (0)