Skip to content

Commit 9c9ac91

Browse files
thiggy1342aibaars
andauthored
Update ruby/ql/src/experimental/decompression-api/DecompressionApi.ql
Co-authored-by: Arthur Baars <[email protected]>
1 parent 3949e04 commit 9c9ac91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/src/experimental/decompression-api/DecompressionApi.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Configuration extends TaintTracking::Configuration {
3939

4040
// our Decompression APIs defined above will the the sinks we use for this query
4141
override predicate isSink(DataFlow::Node sink) {
42-
sink.(DataFlow::CallNode) instanceof DecompressionApiUse
42+
sink instanceof DecompressionApiUse
4343
}
4444
}
4545

0 commit comments

Comments
 (0)