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

Skip to content

Commit a5ebe8c

Browse files
haby0smowton
andauthored
Update java/ql/src/experimental/Security/CWE/CWE-352/JsonpInjectionLib.qll
Co-authored-by: Chris Smowton <[email protected]>
1 parent 8a7d28a commit a5ebe8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/ql/src/experimental/Security/CWE/CWE-352/JsonpInjectionLib.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class VerificationMethodToIfFlowConfig extends DataFlow3::Configuration {
1212
VerificationMethodToIfFlowConfig() { this = "VerificationMethodToIfFlowConfig" }
1313

1414
override predicate isSource(DataFlow::Node src) {
15-
exists(MethodAccess ma, BarrierGuard bg | ma = bg |
15+
exists(MethodAccess ma | ma instanceof BarrierGuard |
1616
(
1717
ma.getMethod().getAParameter().getName().regexpMatch("(?i).*(token|auth|referer|origin).*")
1818
or

0 commit comments

Comments
 (0)