[SCM] MLT multimedia framework packaging branch, master, updated. debian/0.9.0-1-3-g6f4191c

Patrick Matthäi pmatthaei at alioth.debian.org
Thu Oct 17 13:22:01 UTC 2013


Gitweb-URL: http://git.debian.org/?p=pkg-kde/krap/mlt.git;a=commitdiff;h=f6bd86b

The following commit has been merged in the master branch:
commit f6bd86b9f811130f93d2e1ffd37eb25d6366d493
Author: Patrick Matthäi <pmatthaei at debian.org>
Date:   Thu Oct 17 14:52:47 2013 +0200

    * Add upstream patch 02-crash-empty-ladspa-path to fix a crash if LADSPA_PATH
      is empty.
      Closes: #726197
---
 debian/changelog                               |    8 ++++++++
 debian/patches/02-crash-empty-ladspa-path.diff |   18 ++++++++++++++++++
 2 files changed, 26 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 0783425..e7df19f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+mlt (0.9.0-2) UNRELEASED; urgency=low
+
+  * Add upstream patch 02-crash-empty-ladspa-path to fix a crash if LADSPA_PATH
+    is empty.
+    Closes: #726197
+
+ -- Patrick Matthäi <pmatthaei at debian.org>  Thu, 17 Oct 2013 14:51:59 +0200
+
 mlt (0.9.0-1) unstable; urgency=low
 
   * New upstream release.
diff --git a/debian/patches/02-crash-empty-ladspa-path.diff b/debian/patches/02-crash-empty-ladspa-path.diff
new file mode 100644
index 0000000..1b8f80d
--- /dev/null
+++ b/debian/patches/02-crash-empty-ladspa-path.diff
@@ -0,0 +1,18 @@
+# Upstream patch to fix crash if LADSPA_PATH is empty.
+# Closes: #726197
+
+diff -Naur mlt-0.9.0.orig/src/modules/jackrack/plugin_mgr.c mlt-0.9.0/src/modules/jackrack/plugin_mgr.c
+--- mlt-0.9.0.orig/src/modules/jackrack/plugin_mgr.c	2013-06-03 05:34:35.000000000 +0200
++++ mlt-0.9.0/src/modules/jackrack/plugin_mgr.c	2013-10-17 14:49:57.147889337 +0200
+@@ -237,10 +237,8 @@
+     ladspa_path = g_strdup ("/usr/local/lib/ladspa:/usr/lib/ladspa:/usr/lib64/ladspa");
+ #endif
+   
+-  dir = strtok (ladspa_path, ":");
+-  do
++  for (dir = strtok (ladspa_path, ":"); dir; dir = strtok (NULL, ":"))
+     plugin_mgr_get_dir_plugins (plugin_mgr, dir);
+-  while ((dir = strtok (NULL, ":")));
+ 
+   g_free (ladspa_path);
+ }

-- 
MLT multimedia framework packaging



More information about the pkg-kde-commits mailing list