Skip to content

Commit ec63547

Browse files
committed
C++/UseOfHttp
1 parent a65d4d5 commit ec63547

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cpp/ql/src/Security/CWE/CWE-319/UseOfHttp.ql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,8 @@ module HttpStringToUrlOpenConfig implements DataFlow::ConfigSig {
9191
predicate observeDiffInformedIncrementalMode() { any() }
9292

9393
Location getASelectedSourceLocation(DataFlow::Node source) {
94-
result = source.asIndirectExpr().getLocation()
94+
result = [source.asIndirectExpr().getLocation(), source.getLocation()]
9595
}
96-
97-
Location getASelectedSinkLocation(DataFlow::Node sink) { none() }
9896
}
9997

10098
module HttpStringToUrlOpen = TaintTracking::Global<HttpStringToUrlOpenConfig>;

0 commit comments

Comments
 (0)