File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
python/ql/src/Security/CVE-2018-1281 Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -54,10 +54,7 @@ DataFlow::Node vulnerableHostname(string hostname) {
54
54
/** Gets a reference to tuple containing a hostname as the first element, that can be used to bind to all interfaces. */
55
55
private DataFlow:: LocalSourceNode vulnerableAddressTuple ( DataFlow:: TypeTracker t , string hostname ) {
56
56
t .start ( ) and
57
- exists ( Tuple tup |
58
- tup .getElt ( 0 ) = vulnerableHostname ( hostname ) .asExpr ( ) and
59
- result .asExpr ( ) = tup
60
- )
57
+ result .asExpr ( ) = any ( Tuple tup | tup .getElt ( 0 ) = vulnerableHostname ( hostname ) .asExpr ( ) )
61
58
or
62
59
// Due to bad performance when using normal setup with `vulnerableAddressTuple(t2, hostname).track(t2, t)`
63
60
// we have inlined that code and forced a join
You can’t perform that action at this time.
0 commit comments