Compare commits
33 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
efa133d10d | ||
2c113ed6f6 | |||
52f95e9110 | |||
7ec55b5f78 | |||
a150aa6c2e | |||
f281b98b9b | |||
5f822c5560 | |||
10630669eb | |||
a40564ee7c | |||
09f8124ff4 | |||
b1d5de540b | |||
10be3a7196 | |||
ce60e9ed66
|
|||
d27a94528c | |||
40e49d492e | |||
fba0c8d5ae | |||
90e1a4148e | |||
32cbe46280 | |||
d30cb95aec | |||
|
e2cfa392ea | ||
|
47633c77ba | ||
baf5b4d954 | |||
f803df26e3 | |||
62e69514f7 | |||
c18297e308 | |||
ab72df490f | |||
c33511409d | |||
8c17f41823 | |||
c11c165366 | |||
d213111022 | |||
99ea9689b9 | |||
cfe0711bad | |||
5866842008 |
@@ -1,4 +0,0 @@
|
|||||||
mtime: 1753277632
|
|
||||||
commit: 89aa33ff4fc8a0e5a89f8d6d82ca3da2e42ba11e9969177edcfae5cc76fb82ea
|
|
||||||
url: https://src.opensuse.org/jengelh/ffmpeg-7
|
|
||||||
revision: master
|
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ea51db46484063b7a6854cd4d66b6f57d872bdd2bf38540aa4178aa42c76a13a
|
|
||||||
size 256
|
|
@@ -1,15 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jul 23 13:28:49 UTC 2025 - Hans-Peter Jansen <hp@urpla.net>
|
|
||||||
|
|
||||||
- Add vvenc build conditional
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jul 23 07:01:22 UTC 2025 - SongChuan Kang <sckang@suse.com>
|
|
||||||
|
|
||||||
- Add ffmpeg-CVE-2025-7700.patch: Add check for the return value
|
|
||||||
of av_malloc_array() and av_calloc() to avoid potential NULL
|
|
||||||
pointer dereference(CVE-2025-7700, bsc#1246790).
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 25 08:40:15 UTC 2025 - Yifan Jiang <yfjiang@suse.com>
|
Wed Jun 25 08:40:15 UTC 2025 - Yifan Jiang <yfjiang@suse.com>
|
||||||
|
|
||||||
|
@@ -60,7 +60,6 @@
|
|||||||
%bcond_with fdk_aac_dlopen
|
%bcond_with fdk_aac_dlopen
|
||||||
%bcond_with opencore
|
%bcond_with opencore
|
||||||
%bcond_with smbclient
|
%bcond_with smbclient
|
||||||
%bcond_with vvenc
|
|
||||||
%bcond_with x264
|
%bcond_with x264
|
||||||
%bcond_with x265
|
%bcond_with x265
|
||||||
%bcond_with xvid
|
%bcond_with xvid
|
||||||
@@ -123,11 +122,11 @@ Patch15: 11013-avcodec-decode-clean-up-if-get_hw_frames_parameters-.patch
|
|||||||
Patch18: ffmpeg-7-CVE-2025-25473.patch
|
Patch18: ffmpeg-7-CVE-2025-25473.patch
|
||||||
Patch19: ffmpeg-7-CVE-2025-22921.patch
|
Patch19: ffmpeg-7-CVE-2025-22921.patch
|
||||||
Patch20: 0001-avcodec-libsvtav1-unbreak-build-with-latest-svtav1.patch
|
Patch20: 0001-avcodec-libsvtav1-unbreak-build-with-latest-svtav1.patch
|
||||||
Patch21: ffmpeg-CVE-2025-7700.patch
|
|
||||||
BuildRequires: ladspa-devel
|
BuildRequires: ladspa-devel
|
||||||
BuildRequires: libgsm-devel
|
BuildRequires: libgsm-devel
|
||||||
|
BuildRequires: libmp3lame-devel >= 3.98.3
|
||||||
BuildRequires: nasm
|
BuildRequires: nasm
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(alsa)
|
BuildRequires: pkgconfig(alsa)
|
||||||
BuildRequires: pkgconfig(aom) >= 1.0.0
|
BuildRequires: pkgconfig(aom) >= 1.0.0
|
||||||
BuildRequires: pkgconfig(dav1d) >= 0.5.0
|
BuildRequires: pkgconfig(dav1d) >= 0.5.0
|
||||||
@@ -147,7 +146,6 @@ BuildRequires: pkgconfig(libdc1394-2)
|
|||||||
BuildRequires: pkgconfig(libdrm)
|
BuildRequires: pkgconfig(libdrm)
|
||||||
BuildRequires: pkgconfig(libgme)
|
BuildRequires: pkgconfig(libgme)
|
||||||
BuildRequires: pkgconfig(libiec61883)
|
BuildRequires: pkgconfig(libiec61883)
|
||||||
BuildRequires: pkgconfig(libmp3lame) >= 3.98.3
|
|
||||||
BuildRequires: pkgconfig(libopenjp2) >= 2.1.0
|
BuildRequires: pkgconfig(libopenjp2) >= 2.1.0
|
||||||
BuildRequires: pkgconfig(libopenmpt) >= 0.2.6557
|
BuildRequires: pkgconfig(libopenmpt) >= 0.2.6557
|
||||||
BuildRequires: pkgconfig(libpng)
|
BuildRequires: pkgconfig(libpng)
|
||||||
@@ -189,7 +187,7 @@ BuildRequires: pkgconfig(zvbi-0.2) >= 0.2.28
|
|||||||
BuildRequires: AMF-devel
|
BuildRequires: AMF-devel
|
||||||
%endif
|
%endif
|
||||||
%if %{with mysofa}
|
%if %{with mysofa}
|
||||||
BuildRequires: pkgconfig(libmysofa)
|
BuildRequires: libmysofa-devel
|
||||||
%endif
|
%endif
|
||||||
%if %{with codec2}
|
%if %{with codec2}
|
||||||
BuildRequires: pkgconfig(codec2)
|
BuildRequires: pkgconfig(codec2)
|
||||||
@@ -223,9 +221,6 @@ BuildRequires: pkgconfig(opencore-amrnb)
|
|||||||
%if %{with amrwb}
|
%if %{with amrwb}
|
||||||
BuildRequires: pkgconfig(vo-amrwbenc)
|
BuildRequires: pkgconfig(vo-amrwbenc)
|
||||||
%endif
|
%endif
|
||||||
%if %{with vvenc}
|
|
||||||
BuildRequires: vvenc-devel
|
|
||||||
%endif
|
|
||||||
%if %{with x264}
|
%if %{with x264}
|
||||||
BuildRequires: pkgconfig(x264)
|
BuildRequires: pkgconfig(x264)
|
||||||
%endif
|
%endif
|
||||||
@@ -243,7 +238,7 @@ BuildRequires: pkgconfig(SvtAv1Enc) >= 0.9.0
|
|||||||
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150600
|
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150600
|
||||||
BuildRequires: pkgconfig(libplacebo) >= 6.292.0
|
BuildRequires: pkgconfig(libplacebo) >= 6.292.0
|
||||||
%else
|
%else
|
||||||
BuildRequires: (pkgconfig(libplacebo) >= 4.192.0 with pkgconfig(libplacebo) < 6.292.0)
|
BuildRequires: (pkgconfig(libplacebo) >= 4.192.0 with pkgconfig (libplacebo) < 6.292.0)
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: pkgconfig(shaderc) >= 2019.1
|
BuildRequires: pkgconfig(shaderc) >= 2019.1
|
||||||
BuildRequires: pkgconfig(vulkan) >= 1.3.255
|
BuildRequires: pkgconfig(vulkan) >= 1.3.255
|
||||||
@@ -666,9 +661,6 @@ LDFLAGS="%_lto_cflags" \
|
|||||||
%if %{with amrwb}
|
%if %{with amrwb}
|
||||||
--enable-libvo-amrwbenc \
|
--enable-libvo-amrwbenc \
|
||||||
%endif
|
%endif
|
||||||
%if %{with vvenc}
|
|
||||||
--enable-libvvenc \
|
|
||||||
%endif
|
|
||||||
%if %{with x264}
|
%if %{with x264}
|
||||||
--enable-libx264 \
|
--enable-libx264 \
|
||||||
%endif
|
%endif
|
||||||
|
@@ -1,45 +0,0 @@
|
|||||||
From 35a6de137a39f274d5e01ed0e0e6c4f04d0aaf07 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jiasheng Jiang <jiashengjiangcool@gmail.com>
|
|
||||||
Date: Thu, 10 Jul 2025 16:26:39 +0000
|
|
||||||
Subject: [PATCH] libavcodec/alsdec.c: Add check for av_malloc_array() and
|
|
||||||
av_calloc()
|
|
||||||
|
|
||||||
Add check for the return value of av_malloc_array() and av_calloc()
|
|
||||||
to avoid potential NULL pointer dereference.
|
|
||||||
|
|
||||||
Fixes: dcfd24b10c ("avcodec/alsdec: Implement floating point sample data decoding")
|
|
||||||
Signed-off-by: Jiasheng Jiang <jiashengjiangcool@gmail.com>
|
|
||||||
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
|
|
||||||
---
|
|
||||||
libavcodec/alsdec.c | 8 ++++++--
|
|
||||||
1 file changed, 6 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c
|
|
||||||
index 734eec8bf8..97b04a95f9 100644
|
|
||||||
--- a/libavcodec/alsdec.c
|
|
||||||
+++ b/libavcodec/alsdec.c
|
|
||||||
@@ -2119,8 +2119,8 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
|
||||||
ctx->nbits = av_malloc_array(ctx->cur_frame_length, sizeof(*ctx->nbits));
|
|
||||||
ctx->mlz = av_mallocz(sizeof(*ctx->mlz));
|
|
||||||
|
|
||||||
- if (!ctx->mlz || !ctx->acf || !ctx->shift_value || !ctx->last_shift_value
|
|
||||||
- || !ctx->last_acf_mantissa || !ctx->raw_mantissa) {
|
|
||||||
+ if (!ctx->larray || !ctx->nbits || !ctx->mlz || !ctx->acf || !ctx->shift_value
|
|
||||||
+ || !ctx->last_shift_value || !ctx->last_acf_mantissa || !ctx->raw_mantissa) {
|
|
||||||
av_log(avctx, AV_LOG_ERROR, "Allocating buffer memory failed.\n");
|
|
||||||
return AVERROR(ENOMEM);
|
|
||||||
}
|
|
||||||
@@ -2132,6 +2132,10 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
|
||||||
|
|
||||||
for (c = 0; c < channels; ++c) {
|
|
||||||
ctx->raw_mantissa[c] = av_calloc(ctx->cur_frame_length, sizeof(**ctx->raw_mantissa));
|
|
||||||
+ if (!ctx->raw_mantissa[c]) {
|
|
||||||
+ av_log(avctx, AV_LOG_ERROR, "Allocating buffer memory failed.\n");
|
|
||||||
+ return AVERROR(ENOMEM);
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
--
|
|
||||||
2.25.1
|
|
||||||
|
|
@@ -13,12 +13,11 @@ ffmpeg, which can cause inadvertent mixing of library versions on
|
|||||||
openSUSE, and precompiled Linux distributions in general.
|
openSUSE, and precompiled Linux distributions in general.
|
||||||
|
|
||||||
Upstream says "we only add new functions" - which is ok in its own
|
Upstream says "we only add new functions" - which is ok in its own
|
||||||
right. New symbols must be in a new verdef section though, existing
|
right. verdefs, if you have them, *must*not* change under any
|
||||||
sections *must*not* change under *any* circumstances, but that is
|
circumstances, but that is what they broke: the set of symbols
|
||||||
what they broke: the set of symbols included in the "LIBAVFORMAT_59"
|
included in the "LIBAVFORMAT_59" verdef changed between 5.0 and 5.1.
|
||||||
verdef changed between 5.0 and 5.1.
|
|
||||||
|
|
||||||
$ abidiff /usr/lib64/libavformat.so.59.16.100 usr/lib64/libavformat.so.59.27.100
|
$ abidiff abidiff /usr/lib64/libavformat.so.59.16.100 usr/lib64/libavformat.so.59.27.100
|
||||||
Functions changes summary: 0 Removed, 0 Changed, 0 Added function
|
Functions changes summary: 0 Removed, 0 Changed, 0 Added function
|
||||||
Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||||
Function symbols changes summary: 0 Removed, 1 Added function symbol not referenced by debug info
|
Function symbols changes summary: 0 Removed, 1 Added function symbol not referenced by debug info
|
||||||
|
Reference in New Issue
Block a user