Python: Use correct first parameter name for zstd call

Co-authored-by: yoff <yoff@github.com>
This commit is contained in:
Taus
2026-01-07 14:47:11 +01:00
committed by GitHub
parent d2c7147480
commit 8602a2d59b

View File

@@ -381,7 +381,7 @@ module Zstd {
class DecompressionSink extends DecompressionBomb::Sink {
DecompressionSink() {
exists(API::CallNode zstdCall | zstdCall = zstdInstance().getACall() |
this = zstdCall.getParameter(0, "filename").asSink() and
this = zstdCall.getParameter(0, "file").asSink() and
(
not exists(
zstdCall