File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
swift/ql/lib/codeql/swift/security Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -172,20 +172,12 @@ private class Libxml2XxeSink extends XxeSink {
172
172
Libxml2XxeSink ( ) {
173
173
exists ( Libxml2ParseCall c , Libxml2BadOption opt |
174
174
this .asExpr ( ) = c .getXml ( ) and
175
- lib2xmlOptionLocalTaintStep * ( DataFlow:: exprNode ( opt .getAnAccess ( ) ) ,
175
+ TaintTracking :: localTaintStep * ( DataFlow:: exprNode ( opt .getAnAccess ( ) ) ,
176
176
DataFlow:: exprNode ( c .getOptions ( ) ) )
177
177
)
178
178
}
179
179
}
180
180
181
- /**
182
- * Holds if taint can flow from `source` to `sink` in one local step,
183
- * including bitwise operations, accesses to `.rawValue`, and casts to `Int32`.
184
- */
185
- private predicate lib2xmlOptionLocalTaintStep ( DataFlow:: Node source , DataFlow:: Node sink ) {
186
- TaintTracking:: localTaintStep ( source , sink )
187
- }
188
-
189
181
/**
190
182
* A sink defined in a CSV model.
191
183
*/
You can’t perform that action at this time.
0 commit comments