[SCM] easytag/master: Add patch to fix crash when saving OPUS files. (Closes: #798234)
jcowgill-guest at users.alioth.debian.org
jcowgill-guest at users.alioth.debian.org
Mon Sep 7 16:55:09 UTC 2015
The following commit has been merged in the master branch:
commit 181de02e5167c16f03093ad3a11bb1aa7b47a209
Author: James Cowgill <james410 at cowgill.org.uk>
Date: Mon Sep 7 16:18:01 2015 +0100
Add patch to fix crash when saving OPUS files. (Closes: #798234)
diff --git a/debian/patches/0001-Add-missing-case-in-return-value-of-opus_tags_parse.patch b/debian/patches/0001-Add-missing-case-in-return-value-of-opus_tags_parse.patch
new file mode 100644
index 0000000..bd8f66e
--- /dev/null
+++ b/debian/patches/0001-Add-missing-case-in-return-value-of-opus_tags_parse.patch
@@ -0,0 +1,29 @@
+From 952be15303579431c79e2c3221b7109d74003cad Mon Sep 17 00:00:00 2001
+From: James Cowgill <james410 at cowgill.org.uk>
+Date: Mon, 7 Sep 2015 15:43:11 +0100
+Subject: [PATCH] Add missing case in return value of opus_tags_parse
+
+The case for a "successful" return value was missing so saving an opus
+file was always causing easytag to abort at the assertion in the default
+case block.
+---
+ src/tags/vcedit.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/tags/vcedit.c b/src/tags/vcedit.c
+index ba5443a..536170b 100644
+--- a/src/tags/vcedit.c
++++ b/src/tags/vcedit.c
+@@ -610,6 +610,9 @@ vcedit_open (EtOggState *state,
+ header->packet,
+ header->bytes))
+ {
++ case 0:
++ break;
++
+ case OP_ENOTFORMAT:
+ g_set_error (error, ET_OGG_ERROR,
+ ET_OGG_ERROR_HEADER,
+--
+2.5.1
+
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..6707ae8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Add-missing-case-in-return-value-of-opus_tags_parse.patch
--
easytag packaging
More information about the pkg-multimedia-commits
mailing list