[kobodeluxe] 03/07: Add midicon-segmentation-fault.patch

Markus Koschany apo at moszumanska.debian.org
Tue Apr 5 23:07:32 UTC 2016


This is an automated email from the git hooks/post-receive script.

apo pushed a commit to branch master
in repository kobodeluxe.

commit a745f9446cb3fc18cd697f6232a488cb2221bd16
Author: Markus Koschany <apo at debian.org>
Date:   Wed Apr 6 00:29:53 2016 +0200

    Add midicon-segmentation-fault.patch
    
    Closes: #819897
    Thanks: Emile CARRY for the report and patch.
---
 debian/patches/midicon-segmentation-fault.patch | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/debian/patches/midicon-segmentation-fault.patch b/debian/patches/midicon-segmentation-fault.patch
new file mode 100644
index 0000000..65ce259
--- /dev/null
+++ b/debian/patches/midicon-segmentation-fault.patch
@@ -0,0 +1,24 @@
+From: Emile CARRY <emile.carry at sequanux.org>
+Date: Wed, 6 Apr 2016 00:27:17 +0200
+Subject: midicon segmentation fault
+
+Debian-Bug: https://bugs.debian.org/819897
+Forwarded: no
+---
+ sound/a_midicon.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/sound/a_midicon.c b/sound/a_midicon.c
+index 57de3cf..ded2988 100644
+--- a/sound/a_midicon.c
++++ b/sound/a_midicon.c
+@@ -120,8 +120,8 @@ static inline void __press(unsigned ch, unsigned key)
+ {
+ 	m[ch].next[key] = -1;
+ 	m[ch].prev[key] = m[ch].last;
+-	m[ch].next[m[ch].last] = (char)key;
+ 	m[ch].last = (char)key;
++	m[ch].next[m[ch].last] = (char)key;
+ }
+ 
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/kobodeluxe.git



More information about the Pkg-games-commits mailing list