Skip to content

Commit 8602a2d

Browse files
tausbnyoff
andauthored
Python: Use correct first parameter name for zstd call
Co-authored-by: yoff <[email protected]>
1 parent d2c7147 commit 8602a2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/experimental/semmle/python/security/DecompressionBomb.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ module Zstd {
381381
class DecompressionSink extends DecompressionBomb::Sink {
382382
DecompressionSink() {
383383
exists(API::CallNode zstdCall | zstdCall = zstdInstance().getACall() |
384-
this = zstdCall.getParameter(0, "filename").asSink() and
384+
this = zstdCall.getParameter(0, "file").asSink() and
385385
(
386386
not exists(
387387
zstdCall

0 commit comments

Comments
 (0)