diff options
| -rw-r--r-- | meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2023-50008.patch | 29 | ||||
| -rw-r--r-- | meta/recipes-multimedia/ffmpeg/ffmpeg_5.0.1.bb | 1 |
2 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2023-50008.patch b/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2023-50008.patch new file mode 100644 index 0000000000..aff234dabd --- /dev/null +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2023-50008.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From 5f87a68cf70dafeab2fb89b42e41a4c29053b89b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Paul B Mahol <onemda@gmail.com> | ||
| 3 | Date: Mon, 27 Nov 2023 12:08:20 +0100 | ||
| 4 | Subject: [PATCH 3/5] avfilter/vf_colorcorrect: fix memory leaks | ||
| 5 | |||
| 6 | CVE: CVE-2023-50008 | ||
| 7 | |||
| 8 | Upstream-Status: Backport [https://github.com/FFmpeg/FFmpeg/commit/5f87a68cf70dafeab2fb89b42e41a4c29053b89b] | ||
| 9 | |||
| 10 | Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com> | ||
| 11 | --- | ||
| 12 | libavfilter/vf_colorcorrect.c | 2 ++ | ||
| 13 | 1 file changed, 2 insertions(+) | ||
| 14 | |||
| 15 | diff --git a/libavfilter/vf_colorcorrect.c b/libavfilter/vf_colorcorrect.c | ||
| 16 | index ee97b62..ac2de2a 100644 | ||
| 17 | --- a/libavfilter/vf_colorcorrect.c | ||
| 18 | +++ b/libavfilter/vf_colorcorrect.c | ||
| 19 | @@ -498,6 +498,8 @@ static av_cold void uninit(AVFilterContext *ctx) | ||
| 20 | ColorCorrectContext *s = ctx->priv; | ||
| 21 | |||
| 22 | av_freep(&s->analyzeret); | ||
| 23 | + av_freep(&s->uhistogram); | ||
| 24 | + av_freep(&s->vhistogram); | ||
| 25 | } | ||
| 26 | |||
| 27 | static const AVFilterPad colorcorrect_inputs[] = { | ||
| 28 | -- | ||
| 29 | 2.40.0 | ||
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_5.0.1.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_5.0.1.bb index 9a99951f91..ee7485a445 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_5.0.1.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_5.0.1.bb | |||
| @@ -31,6 +31,7 @@ SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \ | |||
| 31 | file://CVE-2022-48434.patch \ | 31 | file://CVE-2022-48434.patch \ |
| 32 | file://CVE-2024-32230.patch \ | 32 | file://CVE-2024-32230.patch \ |
| 33 | file://CVE-2023-51793.patch \ | 33 | file://CVE-2023-51793.patch \ |
| 34 | file://CVE-2023-50008.patch \ | ||
| 34 | " | 35 | " |
| 35 | 36 | ||
| 36 | SRC_URI[sha256sum] = "ef2efae259ce80a240de48ec85ecb062cecca26e4352ffb3fda562c21a93007b" | 37 | SRC_URI[sha256sum] = "ef2efae259ce80a240de48ec85ecb062cecca26e4352ffb3fda562c21a93007b" |
