File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
cpp/ql/src/Security/CWE/CWE-611 Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -227,19 +227,15 @@ class SetFeatureTranformer extends XXEFlowStateTranformer {
227
227
* The `DOMLSParser.getDomConfig` function.
228
228
*/
229
229
class GetDomConfig extends Function {
230
- GetDomConfig ( ) {
231
- this .hasName ( "getDomConfig" ) and
232
- this .getDeclaringType ( ) instanceof DomLSParserClass
233
- }
230
+ GetDomConfig ( ) { this .getClassAndName ( "getDomConfig" ) instanceof DomLSParserClass }
234
231
}
235
232
236
233
/**
237
234
* The `DOMConfiguration.setParameter` function.
238
235
*/
239
236
class DomConfigurationSetParameter extends Function {
240
237
DomConfigurationSetParameter ( ) {
241
- this .hasName ( "setParameter" ) and
242
- this .getDeclaringType ( ) .getName ( ) = "DOMConfiguration"
238
+ this .getClassAndName ( "setParameter" ) .getName ( ) = "DOMConfiguration"
243
239
}
244
240
}
245
241
You can’t perform that action at this time.
0 commit comments