mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
Python: Fix huge_tree modeling
This commit is contained in:
@@ -341,7 +341,8 @@ private module Lxml {
|
||||
)
|
||||
or
|
||||
(kind.isBillionLaughs() or kind.isQuadraticBlowup()) and
|
||||
this.getArgByName("huge_tree").getALocalSource().asExpr() = any(True t)
|
||||
this.getArgByName("huge_tree").getALocalSource().asExpr() = any(True t) and
|
||||
not this.getArgByName("resolve_entities").getALocalSource().asExpr() = any(False t)
|
||||
or
|
||||
kind.isDtdRetrieval() and
|
||||
this.getArgByName("load_dtd").getALocalSource().asExpr() = any(True t) and
|
||||
|
||||
Reference in New Issue
Block a user