Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8353992 commit 66c9cfaCopy full SHA for 66c9cfa
1 file changed
python/ql/src/Security/CVE-2018-1281/BindToAllInterfaces.ql
@@ -54,10 +54,7 @@ DataFlow::Node vulnerableHostname(string hostname) {
54
/** Gets a reference to tuple containing a hostname as the first element, that can be used to bind to all interfaces. */
55
private DataFlow::LocalSourceNode vulnerableAddressTuple(DataFlow::TypeTracker t, string hostname) {
56
t.start() and
57
- exists(Tuple tup |
58
- tup.getElt(0) = vulnerableHostname(hostname).asExpr() and
59
- result.asExpr() = tup
60
- )
+ result.asExpr() = any(Tuple tup | tup.getElt(0) = vulnerableHostname(hostname).asExpr())
61
or
62
// Due to bad performance when using normal setup with `vulnerableAddressTuple(t2, hostname).track(t2, t)`
63
// we have inlined that code and forced a join
0 commit comments