mirror of
https://github.com/github/codeql.git
synced 2026-02-11 20:51:06 +01:00
Python: Use correct first parameter name for zstd call
Co-authored-by: yoff <yoff@github.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user