- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
From 4adb93dff05dd947878c67784d98c9a4e13b57a7 Mon Sep 17 00:00:00 2001
|
|
From: Paul B Mahol <onemda@gmail.com>
|
|
Date: Thu, 23 Nov 2023 14:58:35 +0100
|
|
Subject: [PATCH] avfilter/asrc_afirsrc: fix by one smaller allocation of
|
|
buffer
|
|
|
|
CVE: CVE-2023-49501
|
|
|
|
Upstream-Status: Backport [https://github.com/FFmpeg/FFmpeg/commit/4adb93dff05dd947878c67784d98c9a4e13b57a7]
|
|
|
|
Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
|
|
---
|
|
libavfilter/asrc_afirsrc.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/libavfilter/asrc_afirsrc.c b/libavfilter/asrc_afirsrc.c
|
|
index e2359c1..ea04c35 100644
|
|
--- a/libavfilter/asrc_afirsrc.c
|
|
+++ b/libavfilter/asrc_afirsrc.c
|
|
@@ -480,7 +480,7 @@ static av_cold int config_eq_output(AVFilterLink *outlink)
|
|
if (ret < 0)
|
|
return ret;
|
|
|
|
- s->magnitude = av_calloc(s->nb_magnitude, sizeof(*s->magnitude));
|
|
+ s->magnitude = av_calloc(s->nb_magnitude + 1, sizeof(*s->magnitude));
|
|
if (!s->magnitude)
|
|
return AVERROR(ENOMEM);
|
|
memcpy(s->magnitude, eq_presets[s->preset].gains, sizeof(*s->magnitude) * s->nb_magnitude);
|
|
--
|
|
2.40.0
|