Skip to content

Commit ffe5d30

Browse files
tausbnshati-patel
andauthored
Apply suggestions from code review
Co-authored-by: Shati Patel <[email protected]>
1 parent 99c1b20 commit ffe5d30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/ql/src/Security/CVE-2018-1281/BindToAllInterfaces.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ DataFlow::Node vulnerableHostnameRef(string hostname) {
5454
vulnerableHostnameRef(DataFlow::TypeTracker::end(), hostname).flowsTo(result)
5555
}
5656

57-
/** Gets a reference to tuple containing a hostname as the first element, that can be used to bind to all interfaces. */
57+
/** Gets a reference to a tuple containing a hostname as the first element, that can be used to bind to all interfaces. */
5858
private DataFlow::LocalSourceNode vulnerableAddressTuple(DataFlow::TypeTracker t, string hostname) {
5959
t.start() and
6060
result.asExpr() = any(Tuple tup | tup.getElt(0) = vulnerableHostnameRef(hostname).asExpr())
@@ -76,7 +76,7 @@ private predicate vulnerableAddressTuple_first_join(
7676
DataFlow::StepSummary::step(vulnerableAddressTuple(t2, hostname), res, summary)
7777
}
7878

79-
/** Gets a reference to tuple containing a hostname as the first element, that can be used to bind to all interfaces. */
79+
/** Gets a reference to a tuple containing a hostname as the first element, that can be used to bind to all interfaces. */
8080
DataFlow::Node vulnerableAddressTuple(string hostname) {
8181
vulnerableAddressTuple(DataFlow::TypeTracker::end(), hostname).flowsTo(result)
8282
}

0 commit comments

Comments
 (0)