mirror of
https://github.com/github/codeql.git
synced 2026-02-26 20:03:51 +01:00
Java: Prune PathGraph for CsrfUnprotectedRequestType.ql
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
import java
|
||||
import semmle.code.java.security.CsrfUnprotectedRequestTypeQuery
|
||||
|
||||
query predicate edges(CallPathNode pred, CallPathNode succ) { CallGraph::edges(pred, succ) }
|
||||
query predicate edges(CallPathNode pred, CallPathNode succ) { relevantEdge(pred, succ) }
|
||||
|
||||
from CallPathNode source, CallPathNode sink
|
||||
where unprotectedStateChange(source, sink)
|
||||
|
||||
Reference in New Issue
Block a user