Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package lsp-plugins for openSUSE:Factory checked in at 2023-09-29 21:14:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lsp-plugins (Old)
and /work/SRC/openSUSE:Factory/.lsp-plugins.new.28202 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lsp-plugins"
Fri Sep 29 21:14:09 2023 rev:29 rq:1114153 version:1.2.11
Changes:
--------
--- /work/SRC/openSUSE:Factory/lsp-plugins/lsp-plugins.changes 2023-09-11 21:26:09.681884657 +0200
+++ /work/SRC/openSUSE:Factory/.lsp-plugins.new.28202/lsp-plugins.changes 2023-09-29 21:15:44.622445935 +0200
@@ -1,0 +2,6 @@
+Thu Sep 28 20:32:32 UTC 2023 - Konstantin Voinov
+
+- Add 01-Fixed-double-free-of-generated-port-metadata.patch
+ from upstream fixing crashes
+
+-------------------------------------------------------------------
New:
----
01-Fixed-double-free-of-generated-port-metadata.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lsp-plugins.spec ++++++
--- /var/tmp/diff_new_pack.aRbcq0/_old 2023-09-29 21:15:45.882491398 +0200
+++ /var/tmp/diff_new_pack.aRbcq0/_new 2023-09-29 21:15:45.882491398 +0200
@@ -28,7 +28,9 @@
License: LGPL-3.0-or-later
Group: Productivity/Multimedia/Sound/Utilities
URL: https://lsp-plug.in/
+
Source0: https://github.com/sadko4u/lsp-plugins/releases/download/%{version}/%{name}-src-%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Patch0: 01-Fixed-double-free-of-generated-port-metadata.patch
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: ladspa
@@ -139,7 +141,7 @@
%prep
%setup -qn %{name}
-%autopatch -p1
+%patch0 -p1 -d modules/lsp-plugin-fw
%build
export CFLAGS="%{optflags}" CXXFLAGS="%{optflags}"
++++++ 01-Fixed-double-free-of-generated-port-metadata.patch ++++++
From 4975f943c743eadba745d1c84c1aa2bda67c64f8 Mon Sep 17 00:00:00 2001
From: Vladimir Sadovnikov
Date: Thu, 28 Sep 2023 20:06:12 +0300
Subject: [PATCH] Fixed double free of generated port metadata
---
CHANGELOG | 1 +
include/lsp-plug.in/plug-fw/wrap/clap/impl/wrapper.h | 10 +++++++---
.../lsp-plug.in/plug-fw/wrap/jack/impl/ui_wrapper.h | 5 +++--
include/lsp-plug.in/plug-fw/wrap/jack/impl/wrapper.h | 5 +++--
include/lsp-plug.in/plug-fw/wrap/ladspa/impl/wrapper.h | 4 ++--
include/lsp-plug.in/plug-fw/wrap/ladspa/wrapper.h | 4 ++--
include/lsp-plug.in/plug-fw/wrap/lv2/impl/ui_wrapper.h | 10 ++++++----
include/lsp-plug.in/plug-fw/wrap/vst2/impl/wrapper.h | 6 ++++--
8 files changed, 28 insertions(+), 17 deletions(-)
diff --git a/CHANGELOG b/CHANGELOG
index a315d397..d71f975f 100644
diff --git a/include/lsp-plug.in/plug-fw/wrap/clap/impl/wrapper.h b/include/lsp-plug.in/plug-fw/wrap/clap/impl/wrapper.h
index 9928ae34..a5c55302 100644
--- a/include/lsp-plug.in/plug-fw/wrap/clap/impl/wrapper.h
+++ b/include/lsp-plug.in/plug-fw/wrap/clap/impl/wrapper.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2022 Linux Studio Plugins Project https://lsp-plug.in/
- * (C) 2022 Vladimir Sadovnikov
+ * Copyright (C) 2023 Linux Studio Plugins Project https://lsp-plug.in/
+ * (C) 2023 Vladimir Sadovnikov
*
* This file is part of lsp-plugin-fw
* Created on: 24 дек. 2022 г.
@@ -110,7 +110,11 @@ namespace lsp
// Cleanup generated metadata
for (size_t i=0, n=vGenMetadata.size(); ihttps://lsp-plug.in/
- * (C) 2022 Vladimir Sadovnikov
+ * Copyright (C) 2023 Linux Studio Plugins Project https://lsp-plug.in/
+ * (C) 2023 Vladimir Sadovnikov
*
* This file is part of lsp-plugin-fw
* Created on: 31 янв. 2022 г.
@@ -151,6 +151,7 @@ namespace lsp
lsp_trace("destroy generated UI port metadata %p", port);
meta::drop_port_metadata(port);
}
+ vGenMetadata.flush();
// Destroy the display
if (pDisplay != NULL)
diff --git a/include/lsp-plug.in/plug-fw/wrap/jack/impl/wrapper.h b/include/lsp-plug.in/plug-fw/wrap/jack/impl/wrapper.h
index be97b9e3..96a23760 100644
--- a/include/lsp-plug.in/plug-fw/wrap/jack/impl/wrapper.h
+++ b/include/lsp-plug.in/plug-fw/wrap/jack/impl/wrapper.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2022 Linux Studio Plugins Project https://lsp-plug.in/
- * (C) 2022 Vladimir Sadovnikov
+ * Copyright (C) 2023 Linux Studio Plugins Project https://lsp-plug.in/
+ * (C) 2023 Vladimir Sadovnikov
*
* This file is part of lsp-plugin-fw
* Created on: 31 янв. 2022 г.
@@ -466,6 +466,7 @@ namespace lsp
// lsp_trace("destroy generated port metadata %p", port);
meta::drop_port_metadata(port);
}
+ vGenMetadata.flush();
// Clear all other port containers
vDataPorts.flush();
diff --git a/include/lsp-plug.in/plug-fw/wrap/ladspa/impl/wrapper.h b/include/lsp-plug.in/plug-fw/wrap/ladspa/impl/wrapper.h
index 78d3dfdc..7c0b49d3 100644
--- a/include/lsp-plug.in/plug-fw/wrap/ladspa/impl/wrapper.h
+++ b/include/lsp-plug.in/plug-fw/wrap/ladspa/impl/wrapper.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2021 Linux Studio Plugins Project https://lsp-plug.in/
- * (C) 2021 Vladimir Sadovnikov
+ * Copyright (C) 2023 Linux Studio Plugins Project https://lsp-plug.in/
+ * (C) 2023 Vladimir Sadovnikov
*
* This file is part of lsp-plugin-fw
* Created on: 26 янв. 2022 г.
diff --git a/include/lsp-plug.in/plug-fw/wrap/ladspa/wrapper.h b/include/lsp-plug.in/plug-fw/wrap/ladspa/wrapper.h
index 97236bc7..e15bf40e 100644
--- a/include/lsp-plug.in/plug-fw/wrap/ladspa/wrapper.h
+++ b/include/lsp-plug.in/plug-fw/wrap/ladspa/wrapper.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2021 Linux Studio Plugins Project https://lsp-plug.in/
- * (C) 2021 Vladimir Sadovnikov
+ * Copyright (C) 2023 Linux Studio Plugins Project https://lsp-plug.in/
+ * (C) 2023 Vladimir Sadovnikov
*
* This file is part of lsp-plugin-fw
* Created on: 1 нояб. 2021 г.
diff --git a/include/lsp-plug.in/plug-fw/wrap/lv2/impl/ui_wrapper.h b/include/lsp-plug.in/plug-fw/wrap/lv2/impl/ui_wrapper.h
index 98973f1d..2b377ab5 100644
--- a/include/lsp-plug.in/plug-fw/wrap/lv2/impl/ui_wrapper.h
+++ b/include/lsp-plug.in/plug-fw/wrap/lv2/impl/ui_wrapper.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2021 Linux Studio Plugins Project https://lsp-plug.in/
- * (C) 2021 Vladimir Sadovnikov
+ * Copyright (C) 2023 Linux Studio Plugins Project https://lsp-plug.in/
+ * (C) 2023 Vladimir Sadovnikov
*
* This file is part of lsp-plugin-fw
* Created on: 24 нояб. 2021 г.
@@ -155,9 +155,11 @@ namespace lsp
// Cleanup generated metadata
for (size_t i=0; i