summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebian Multimedia Maintainers <debian-multimedia@lists.debian.org>2022-09-28 18:05:50 +0200
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>2022-09-28 18:05:50 +0200
commitd0fda7904bd11c2735f618070e1cc8e83ac0f839 (patch)
treec4078ebacab959af8a7bc553b2045d567f89499e
parent8b06b99603ed5cf7b1c1e42393873f494eebb58e (diff)
fixed format-security errorsarchive/debian/0.17.1-5
Forwarded: no Last-Update: 2017-01-15 Last-Update: 2017-01-15 Gbp-Pq: Name format-security.patch
-rw-r--r--cdplayer.c2
-rw-r--r--openpatch.c2
-rw-r--r--strippath.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/cdplayer.c b/cdplayer.c
index 9d7cdb8..59d7128 100644
--- a/cdplayer.c
+++ b/cdplayer.c
@@ -29,7 +29,7 @@ static void *cdplayer_new()
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/openpatch.c b/openpatch.c
index 915a379..3591a1a 100644
--- a/openpatch.c
+++ b/openpatch.c
@@ -55,7 +55,7 @@ static void openpatch_symbol(t_openpatch *x, t_symbol *s)
}
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));
diff --git a/strippath.c b/strippath.c
index 8af95fe..a6fe3d4 100644
--- a/strippath.c
+++ b/strippath.c
@@ -49,7 +49,7 @@ static void strippath_symbol(t_strippath *x, t_symbol *s)
}
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);