forked from pool/ffmpeg-5
Jan Engelhardt
3c3fb2af32
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=89
20 lines
735 B
Diff
20 lines
735 B
Diff
From 5f87a68cf70dafeab2fb89b42e41a4c29053b89b
|
|
From: Paul B Mahol <onemda@gmail.com>
|
|
Date: Mon Nov 27 12:08:20 2023 +0100
|
|
Subject: avfilter/vf_colorcorrect: fix memory leaks
|
|
References: https://bugzilla.opensuse.org/1223254
|
|
References: CVE-2023-50008
|
|
|
|
diff -Nura ffmpeg-5.1.4/libavfilter/vf_colorcorrect.c ffmpeg-5.1.4_new/libavfilter/vf_colorcorrect.c
|
|
--- ffmpeg-5.1.4/libavfilter/vf_colorcorrect.c 2023-11-10 07:38:51.000000000 +0800
|
|
+++ ffmpeg-5.1.4_new/libavfilter/vf_colorcorrect.c 2024-04-25 16:21:53.290363296 +0800
|
|
@@ -498,6 +498,8 @@
|
|
ColorCorrectContext *s = ctx->priv;
|
|
|
|
av_freep(&s->analyzeret);
|
|
+ av_freep(&s->uhistogram);
|
|
+ av_freep(&s->vhistogram);
|
|
}
|
|
|
|
static const AVFilterPad colorcorrect_inputs[] = {
|