File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
cpp/ql/src/Security/CWE/CWE-020/ir Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class UntrustedExternalApiDataNode extends ExternalApiDataNode {
1313 UntrustedExternalApiDataNode ( ) { UntrustedDataToExternalApiFlow:: hasFlow ( _, this ) }
1414
1515 /** Gets a source of untrusted data which is passed to this external API data node. */
16- DataFlow:: Node getAnUntrustedSource ( ) { UntrustedDataToExternalApiConfig :: hasFlow ( result , this ) }
16+ DataFlow:: Node getAnUntrustedSource ( ) { UntrustedDataToExternalApiFlow :: hasFlow ( result , this ) }
1717}
1818
1919/** DEPRECATED: Alias for UntrustedExternalApiDataNode */
Original file line number Diff line number Diff line change @@ -58,9 +58,9 @@ deprecated class UntrustedDataToExternalAPIConfig = UntrustedDataToExternalApiCo
5858
5959/** A configuration for tracking flow from `RemoteFlowSource`s to `ExternalApiDataNode`s. */
6060module UntrustedDataToExternalApiConfig implements DataFlow:: ConfigSig {
61- override predicate isSource ( DataFlow:: Node source ) { source instanceof RemoteFlowSource }
61+ predicate isSource ( DataFlow:: Node source ) { source instanceof RemoteFlowSource }
6262
63- override predicate isSink ( DataFlow:: Node sink ) { sink instanceof ExternalApiDataNode }
63+ predicate isSink ( DataFlow:: Node sink ) { sink instanceof ExternalApiDataNode }
6464}
6565
6666module UntrustedDataToExternalApiFlow = TaintTracking:: Make< UntrustedDataToExternalApiConfig > ;
You can’t perform that action at this time.
0 commit comments