Skip to content

Commit

Permalink
Switch source and sink in TrustBoundaryViolation.ql
Browse files Browse the repository at this point in the history
  • Loading branch information
aibaars authored May 23, 2024
1 parent 5c4eb3c commit b5b5fef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/ql/src/Security/CWE/CWE-501/TrustBoundaryViolation.ql
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ import TrustBoundaryFlow::PathGraph

from TrustBoundaryFlow::PathNode source, TrustBoundaryFlow::PathNode sink
where TrustBoundaryFlow::flowPath(source, sink)
select sink.getNode(), sink, source,
select sink.getNode(), source, sink,
"This servlet reads data from a $@ and writes it to a session variable.", source, "remote source"

0 comments on commit b5b5fef

Please sign in to comment.