File lmms-fix.patch of Package lmms

Index: lmms-1.1.3/plugins/flp_import/unrtf/convert.c
===================================================================
--- lmms-1.1.3.orig/plugins/flp_import/unrtf/convert.c
+++ lmms-1.1.3/plugins/flp_import/unrtf/convert.c
@@ -1548,7 +1548,7 @@ cmd_ftech (Word *w, int align, char has_
 
 static int 
 cmd_expand (Word *w, int align, char has_param, int param) {
-	char str[10];
+	char str[11];
 	if (has_param) {
 		sprintf(str, "%d", param/4);
 		if (!param) 
Index: lmms-1.1.3/plugins/LadspaEffect/swh/vynil_1905.c
===================================================================
--- lmms-1.1.3.orig/plugins/LadspaEffect/swh/vynil_1905.c
+++ lmms-1.1.3/plugins/LadspaEffect/swh/vynil_1905.c
@@ -234,6 +234,9 @@ static LADSPA_Handle instantiateVynil(
 	unsigned int i;
 	unsigned int buffer_size;
 
+	click_buffer_omega.all = 0;
+	click_buffer_pos.all = 0;
+
 	fs = (float)s_rate;
 	buffer_size = 4096;
 	while (buffer_size < s_rate * BUF_LEN) {
openSUSE Build Service is sponsored by