[SCM] pd-ext13/master: Fixed format-security errors

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Sun Jan 15 18:27:43 UTC 2017


The following commit has been merged in the master branch:
commit 690993fe0c48c627533272fd5fea8220fb52b8ca
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Sun Jan 15 19:21:03 2017 +0100

    Fixed format-security errors

diff --git a/debian/patches/format-security.patch b/debian/patches/format-security.patch
new file mode 100644
index 0000000..96f6d21
--- /dev/null
+++ b/debian/patches/format-security.patch
@@ -0,0 +1,39 @@
+Description: fixed format-security errors
+Author: IOhannes m zmölnig
+Forwarded: no
+Last-Update: 2017-01-15
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- pd-ext13.orig/openpatch.c
++++ pd-ext13/openpatch.c
+@@ -55,7 +55,7 @@
+       }
+       else {
+         strcpy (filename,s->s_name);
+-        sprintf (path,x->x_path->s_name);
++        sprintf (path, "%s", x->x_path->s_name);
+       }  
+     post ("path:%s , name:%s",path,filename);
+     glob_evalfile(0,gensym(filename),gensym(path));
+--- pd-ext13.orig/strippath.c
++++ pd-ext13/strippath.c
+@@ -49,7 +49,7 @@
+       }
+       else {
+         strcpy (filename,s->s_name);
+-        sprintf (path,x->x_path->s_name);
++        sprintf (path, "%s", x->x_path->s_name);
+       }  
+       outlet_symbol(x->x_obj.ob_outlet,gensym(filename));
+ //      post ("path:%s , name:%s",path,filename);
+--- pd-ext13.orig/cdplayer.c
++++ pd-ext13/cdplayer.c
+@@ -29,7 +29,7 @@
+     t_cdplayer *x = (t_cdplayer *)pd_new(cdplayer_class);
+ 
+     outlet_new(&x->x_obj, &s_bang);
+-    sprintf(devicename,"/dev/cdrom");
++    sprintf(devicename, "%s", "/dev/cdrom");
+     x->device = gensym(devicename);
+ /*
+     fd = open(x->device->s_name, O_RDONLY);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..96ffb92
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+format-security.patch

-- 
pd-ext13 packaging



More information about the pkg-multimedia-commits mailing list