Commit eead5cf1 authored by unlord's avatar unlord

ogg123: fix a format security issue in status.c, reported by downstream...

ogg123: fix a format security issue in status.c, reported by downstream https://bugs.gentoo.org/520580


svn path=/trunk/vorbis-tools/; revision=19227
parent 514116d7
......@@ -148,7 +148,7 @@ int print_statistics_line (stat_format_t stats[])
switch (stats->type) {
case stat_noarg:
len += sprintf(str+len, stats->formatstr);
len += sprintf(str+len, "%s", stats->formatstr);
break;
case stat_intarg:
len += sprintf(str+len, stats->formatstr, stats->arg.intarg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment