Skip to content

Commit bbe2bf2

Browse files
committed
C++/CleartextTransmission
1 parent b018040 commit bbe2bf2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cpp/ql/src/Security/CWE/CWE-311/CleartextTransmission.ql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,9 @@ module FromSensitiveConfig implements DataFlow::ConfigSig {
249249
predicate observeDiffInformedIncrementalMode() { any() }
250250

251251
Location getASelectedSinkLocation(DataFlow::Node sink) {
252-
exists(NetworkSendRecv networkSendRecv | result = networkSendRecv.getLocation() |
252+
exists(NetworkSendRecv networkSendRecv |
253+
result = [networkSendRecv.getLocation(), sink.getLocation()]
254+
|
253255
isSinkSendRecv(sink, networkSendRecv)
254256
)
255257
}

0 commit comments

Comments
 (0)