mirror of
https://github.com/github/codeql.git
synced 2026-02-23 10:23:41 +01:00
Delete redundant LXMLParser dangerous check
This commit is contained in:
@@ -108,7 +108,6 @@ private module XML {
|
||||
override DataFlow::Node getAnInput() { none() }
|
||||
|
||||
override predicate mayBeDangerous() {
|
||||
not exists(this.getArgByName(_)) or
|
||||
DataFlow::localFlow(DataFlow::exprNode(any(False falseName)), this.getArgByName("no_network")) or
|
||||
DataFlow::localFlow(DataFlow::exprNode(any(True trueName)),
|
||||
this.getArgByName(["huge_tree", "resolve_entities"])) or
|
||||
|
||||
Reference in New Issue
Block a user