File soundtracker-strncat-fix.diff of Package soundtracker

--- app/gui.c-dist	2006-10-26 14:53:06.000000000 +0200
+++ app/gui.c	2006-10-26 14:54:06.000000000 +0200
@@ -1678,8 +1678,7 @@ gui_splash_set_label (const gchar *text,
 {
     char buf[256];
 
-    strcpy(buf, "SoundTracker v" VERSION " - ");
-    strncat(buf, text, 255-sizeof(buf));
+    snprintf(buf, sizeof(buf), "%s - %s", "SoundTracker v" VERSION, text);
 
     gtk_label_set_text(GTK_LABEL(gui_splash_label), buf);
 
openSUSE Build Service is sponsored by