summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2005-10-08 11:26:23 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2005-10-08 11:26:23 +0000
commit6e8c0b93f15a594e8218db242b060f1b616539e1 (patch)
treee2df3a9a77f17ef277315c45223993f502c12c56
parent2a3819df374d61809cf055b23f1532ab84f3f301 (diff)
downloadxine-lib-6e8c0b93f15a594e8218db242b060f1b616539e1.tar.gz
xine-lib-6e8c0b93f15a594e8218db242b060f1b616539e1.tar.bz2
fix format string vulnerability reported by Ulf Harnhammar of the Debian Security Audit Project
CVS patchset: 7757 CVS date: 2005/10/08 11:26:23
-rw-r--r--src/input/input_cdda.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_cdda.c b/src/input/input_cdda.c
index 7ff668c47..c9c47ad7a 100644
--- a/src/input/input_cdda.c
+++ b/src/input/input_cdda.c
@@ -20,7 +20,7 @@
* Compact Disc Digital Audio (CDDA) Input Plugin
* by Mike Melanson (melanson@pcisys.net)
*
- * $Id: input_cdda.c,v 1.77 2005/09/05 17:02:57 valtri Exp $
+ * $Id: input_cdda.c,v 1.78 2005/10/08 11:26:23 mroi Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -1486,7 +1486,7 @@ static void _cdda_save_cached_cddb_infos(cdda_input_plugin_t *this, char *fileco
return;
}
else {
- fprintf(fd, filecontent);
+ fprintf(fd, "%s", filecontent);
fclose(fd);
}