[SCM] phasex/master: More patches

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Sun Jan 13 17:20:35 UTC 2013


The following commit has been merged in the master branch:
commit f273f44e3bac5a60956d1bda513ac570dde9809f
Author: Alessio Treglia <alessio at debian.org>
Date:   Sat Jan 12 21:42:59 2013 +0000

    More patches

diff --git a/debian/patches/04-hardening.patch b/debian/patches/04-hardening.patch
index bf90b67..f61f302 100644
--- a/debian/patches/04-hardening.patch
+++ b/debian/patches/04-hardening.patch
@@ -3,7 +3,9 @@ Author: Alessio Treglia <alessio at debian.org>
 Forwarded: https://github.com/williamweston/phasex/issues/3
 ---
  src/alsa_seq.c |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+ src/debug.c    |    2 +-
+ src/phasex.c   |    2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
 
 --- phasex.orig/src/alsa_seq.c
 +++ phasex/src/alsa_seq.c
@@ -16,3 +18,25 @@ Forwarded: https://github.com/williamweston/phasex/issues/3
  }
  
  
+--- phasex.orig/src/debug.c
++++ phasex/src/debug.c
+@@ -92,7 +92,7 @@ phasex_debug_thread(void *UNUSED(arg))
+ 		usleep(16000 >> PHASEX_CPU_POWER);
+ 		while (main_debug_queue.read_index !=
+ 		       g_atomic_int_get(& (main_debug_queue.write_index))) {
+-			fprintf(stderr, (char *)(main_debug_queue.msgs
++			fprintf(stderr, "%s", (char *)(main_debug_queue.msgs
+ 			                         [main_debug_queue.read_index].msg));
+ 			main_debug_queue.read_index =
+ 				(main_debug_queue.read_index + 1) & DEBUG_BUFFER_MASK;
+--- phasex.orig/src/phasex.c
++++ phasex/src/phasex.c
+@@ -391,7 +391,7 @@ phasex_shutdown(const char *msg)
+ {
+ 	/* output message from caller */
+ 	if (msg != NULL) {
+-		fprintf(stderr, msg);
++		fprintf(stderr, "%s", msg);
+ 	}
+ 
+ 	/* keep current midi port settings. */

-- 
phasex packaging



More information about the pkg-multimedia-commits mailing list