зеркало из https://github.com/github/codeql.git
Replace servlet source node with RemoteFlowSource
This commit is contained in:
Родитель
929090a847
Коммит
a3a4c31911
|
@ -12,11 +12,8 @@ private import semmle.code.java.frameworks.owasp.Esapi
|
|||
*/
|
||||
abstract class TrustBoundaryViolationSource extends DataFlow::Node { }
|
||||
|
||||
/**
|
||||
* A node representing a servlet request.
|
||||
*/
|
||||
private class ServletRequestSource extends TrustBoundaryViolationSource {
|
||||
ServletRequestSource() { this.asExpr().getType() instanceof HttpServletRequest }
|
||||
private class RemoteSource extends TrustBoundaryViolationSource {
|
||||
RemoteSource() { this instanceof RemoteFlowSource }
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче