summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/CVE-2025-56225.patch25
-rw-r--r--meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.3.4.bb1
2 files changed, 26 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/CVE-2025-56225.patch b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/CVE-2025-56225.patch
new file mode 100644
index 0000000000..6398e9970a
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/CVE-2025-56225.patch
@@ -0,0 +1,25 @@
1From b2a3432639798270b46f0a35c7e25196978389b4 Mon Sep 17 00:00:00 2001
2From: "Tom M." <tom.mbrt@googlemail.com>
3Date: Mon, 14 Jul 2025 18:13:38 +0200
4Subject: [PATCH] Fix a nullpointer dereference during legato mode (#1607)
5
6CVE: CVE-2025-56225
7Upstream-Status: Backport [https://github.com/FluidSynth/fluidsynth/commit/45f2a79f4265dcc4f98cfbafdb10727fb1c0d411]
8Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
9---
10 src/synth/fluid_synth_monopoly.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/src/synth/fluid_synth_monopoly.c b/src/synth/fluid_synth_monopoly.c
14index d1de1319..6e6e2a90 100644
15--- a/src/synth/fluid_synth_monopoly.c
16+++ b/src/synth/fluid_synth_monopoly.c
17@@ -410,7 +410,7 @@ int fluid_synth_noteoff_mono_LOCAL(fluid_synth_t *synth, int chan, int key)
18 fluid_channel_breath_msb(channel))
19 {
20 /* legato playing detection */
21- if(channel->mode & FLUID_CHANNEL_LEGATO_PLAYING)
22+ if (channel->mode & FLUID_CHANNEL_LEGATO_PLAYING && channel->preset != NULL)
23 {
24 /* the list contains others notes */
25 if(i_prev >= 0)
diff --git a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.3.4.bb b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.3.4.bb
index dc05832e80..550d1b6650 100644
--- a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.3.4.bb
+++ b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.3.4.bb
@@ -10,6 +10,7 @@ SRC_URI = " \
10 git://github.com/FluidSynth/fluidsynth.git;branch=master;protocol=https \ 10 git://github.com/FluidSynth/fluidsynth.git;branch=master;protocol=https \
11 file://0002-fluid_synth_nwrite_float-Allow-zero-pointer-for-left.patch \ 11 file://0002-fluid_synth_nwrite_float-Allow-zero-pointer-for-left.patch \
12 file://0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch \ 12 file://0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch \
13 file://CVE-2025-56225.patch \
13" 14"
14SRCREV = "5ecdc4568e45123216c6888892caad07918ef127" 15SRCREV = "5ecdc4568e45123216c6888892caad07918ef127"
15 16