Skip to content

Commit 4aa41df

Browse files
geoffw0MathiasVP
andauthored
Update cpp/ql/src/Security/CWE/CWE-611/XXE.ql
Co-authored-by: Mathias Vorreiter Pedersen <[email protected]>
1 parent 6ada1bd commit 4aa41df

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/src/Security/CWE/CWE-611

1 file changed

+1
-1
lines changed

cpp/ql/src/Security/CWE/CWE-611/XXE.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ class ParseFunction extends Function {
169169
class CreateLSParser extends Function {
170170
CreateLSParser() {
171171
this.hasName("createLSParser") and
172-
this.getType().(PointerType).getBaseType().getName() = "DOMLSParser" // returns a `DOMLSParser *`.
172+
this.getUnderlyingType().(PointerType).getBaseType().getName() = "DOMLSParser" // returns a `DOMLSParser *`.
173173
}
174174
}
175175

0 commit comments

Comments
 (0)