ffmpeg_4: add patch for CVE-2023-51794
This commit is contained in:
@@ -424,6 +424,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
--replace 'const AVInputFormat *const ' 'const AVInputFormat *'
|
||||
'';
|
||||
})
|
||||
(fetchpatch2 {
|
||||
name = "CVE-2023-51794.patch";
|
||||
url = "https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/50f0f8c53c818f73fe2d752708e2fa9d2a2d8a07";
|
||||
hash = "sha256-5G9lmKjMEa0+vqbA8EEiNIr6QG+PeEoIL+uZP4Hlo28=";
|
||||
})
|
||||
]
|
||||
++ optionals (lib.versionAtLeast version "5" && lib.versionOlder version "6") [
|
||||
(fetchpatch2 {
|
||||
|
||||
Reference in New Issue
Block a user