@@ -60,7 +60,7 @@ class TlsVersionFlowConfig extends TaintTracking::Configuration {
6060 /**
6161 * Holds if `source` is a TLS version source yielding value `val`.
6262 */
63- predicate isSource ( DataFlow:: Node source , int val ) {
63+ predicate intIsSource ( DataFlow:: Node source , int val ) {
6464 val = source .getIntValue ( ) and
6565 val = getATlsVersion ( ) and
6666 not DataFlow:: isReturnedWithError ( source )
@@ -74,7 +74,7 @@ class TlsVersionFlowConfig extends TaintTracking::Configuration {
7474 fieldWrite .writesField ( base , fld , sink )
7575 }
7676
77- override predicate isSource ( DataFlow:: Node source ) { isSource ( source , _) }
77+ override predicate isSource ( DataFlow:: Node source ) { intIsSource ( source , _) }
7878
7979 override predicate isSink ( DataFlow:: Node sink ) { isSink ( sink , _, _, _) }
8080}
@@ -87,7 +87,7 @@ predicate secureTlsVersionFlow(
8787) {
8888 exists ( int version |
8989 config .hasFlowPath ( source , sink ) and
90- config .isSource ( source .getNode ( ) , version ) and
90+ config .intIsSource ( source .getNode ( ) , version ) and
9191 not isInsecureTlsVersion ( version , _, fld .getName ( ) )
9292 )
9393}
@@ -130,7 +130,7 @@ predicate isInsecureTlsVersionFlow(
130130) {
131131 exists ( TlsVersionFlowConfig cfg , int version , Field fld |
132132 cfg .hasFlowPath ( source , sink ) and
133- cfg .isSource ( source .getNode ( ) , version ) and
133+ cfg .intIsSource ( source .getNode ( ) , version ) and
134134 cfg .isSink ( sink .getNode ( ) , fld , base , _) and
135135 isInsecureTlsVersion ( version , _, fld .getName ( ) ) and
136136 // Exclude cases where a secure TLS version can also flow to the same
0 commit comments