Python: Rename to XmlParsingVulnerabilityKind

To keep up with style guide
This commit is contained in:
Rasmus Wriedt Larsen
2022-04-05 11:07:12 +02:00
parent ab59d5c786
commit 1f285b8983
8 changed files with 21 additions and 21 deletions

View File

@@ -27,7 +27,7 @@ private module Xmltodict {
result in [this.getArg(0), this.getArgByName("xml_input")]
}
override predicate vulnerableTo(XML::XMLParsingVulnerabilityKind kind) {
override predicate vulnerableTo(XML::XmlParsingVulnerabilityKind kind) {
(kind.isBillionLaughs() or kind.isQuadraticBlowup()) and
this.getArgByName("disable_entities").getALocalSource().asExpr() = any(False f)
}