summaryrefslogtreecommitdiff
path: root/strippath.c
diff options
context:
space:
mode:
authorDebian Multimedia Maintainers <debian-multimedia@lists.debian.org>2024-03-18 18:06:49 +0100
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>2024-03-18 18:06:49 +0100
commitd323ed205066f0223201e4cf07ea6839699b19af (patch)
treebb14c78e3d7e884210d82b4d9055b593c0ff1c86 /strippath.c
parent4cabfd808a5fc1c43b3be6597fda54da6791974d (diff)
fixed format-security errors
Forwarded: no Last-Update: 2017-01-15 Last-Update: 2017-01-15 Gbp-Pq: Name format-security.patch
Diffstat (limited to 'strippath.c')
-rw-r--r--strippath.c2
1 files changed, 1 insertions, 1 deletions
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);