File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed
lib/codeql/swift/security
test/query-tests/Security/CWE-611 Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -184,10 +184,6 @@ private class Libxml2XxeSink extends XxeSink {
184184 */
185185private predicate lib2xmlOptionLocalTaintStep ( DataFlow:: Node source , DataFlow:: Node sink ) {
186186 TaintTracking:: localTaintStep ( source , sink )
187- or
188- exists ( MemberRefExpr rawValue | rawValue .getMember ( ) .( VarDecl ) .getName ( ) = "rawValue" |
189- source .asExpr ( ) = rawValue .getBase ( ) and sink .asExpr ( ) = rawValue
190- )
191187}
192188
193189/**
Original file line number Diff line number Diff line change 1- failures
21testFailures
2+ | testLibxmlXXE.swift:101:78:102:1 | // $ hasXXE=96\n | Missing result:hasXXE=96 |
3+ | testLibxmlXXE.swift:102:80:103:1 | // $ hasXXE=96\n | Missing result:hasXXE=96 |
4+ | testLibxmlXXE.swift:103:107:104:1 | // $ hasXXE=96\n | Missing result:hasXXE=96 |
5+ | testLibxmlXXE.swift:104:82:105:1 | // $ hasXXE=96\n | Missing result:hasXXE=96 |
6+ | testLibxmlXXE.swift:106:78:107:1 | // $ hasXXE=95\n | Missing result:hasXXE=95 |
7+ | testLibxmlXXE.swift:107:80:108:1 | // $ hasXXE=95\n | Missing result:hasXXE=95 |
8+ | testLibxmlXXE.swift:109:87:110:1 | // $ hasXXE=96\n | Missing result:hasXXE=96 |
9+ | testLibxmlXXE.swift:110:89:111:1 | // $ hasXXE=96\n | Missing result:hasXXE=96 |
10+ | testLibxmlXXE.swift:112:99:113:1 | // $ hasXXE=96\n | Missing result:hasXXE=96 |
11+ | testLibxmlXXE.swift:113:97:114:1 | // $ hasXXE=96\n | Missing result:hasXXE=96 |
12+ | testLibxmlXXE.swift:115:87:116:1 | // $ hasXXE=95\n | Missing result:hasXXE=95 |
13+ | testLibxmlXXE.swift:116:89:117:1 | // $ hasXXE=95\n | Missing result:hasXXE=95 |
14+ | testLibxmlXXE.swift:118:89:119:1 | // $ hasXXE=96\n | Missing result:hasXXE=96 |
15+ | testLibxmlXXE.swift:119:91:120:1 | // $ hasXXE=96\n | Missing result:hasXXE=96 |
16+ | testLibxmlXXE.swift:121:98:122:1 | // $ hasXXE=96\n | Missing result:hasXXE=96 |
17+ | testLibxmlXXE.swift:122:100:123:1 | // $ hasXXE=96\n | Missing result:hasXXE=96 |
18+ failures
You can’t perform that action at this time.
0 commit comments