summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2006-09-26 18:13:11 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2006-09-26 18:13:11 +0000
commitb1157fb4a263730a7aeee629075175d3e331c5c9 (patch)
treeb21be490ae183d673c1f90425fa56c0fb101c218 /src
parenta523ce18749d5155312468cedff9ea779c2225cc (diff)
downloadxine-lib-b1157fb4a263730a7aeee629075175d3e331c5c9.tar.gz
xine-lib-b1157fb4a263730a7aeee629075175d3e331c5c9.tar.bz2
Fix off-by-one error identified by Coverit Scan. CID 116.
CVS patchset: 8296 CVS date: 2006/09/26 18:13:11
Diffstat (limited to 'src')
-rw-r--r--src/input/vcd/libcdio/iso9660.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/vcd/libcdio/iso9660.c b/src/input/vcd/libcdio/iso9660.c
index 4cb0bd062..91b89d516 100644
--- a/src/input/vcd/libcdio/iso9660.c
+++ b/src/input/vcd/libcdio/iso9660.c
@@ -1,5 +1,5 @@
/*
- $Id: iso9660.c,v 1.3 2005/01/01 02:43:57 rockyb Exp $
+ $Id: iso9660.c,v 1.4 2006/09/26 18:13:11 dgp85 Exp $
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
@@ -37,7 +37,7 @@
#include <stdio.h>
#endif
-static const char _rcsid[] = "$Id: iso9660.c,v 1.3 2005/01/01 02:43:57 rockyb Exp $";
+static const char _rcsid[] = "$Id: iso9660.c,v 1.4 2006/09/26 18:13:11 dgp85 Exp $";
/* some parameters... */
#define SYSTEM_ID "CD-RTOS CD-BRIDGE"
@@ -50,7 +50,7 @@ static const char _rcsid[] = "$Id: iso9660.c,v 1.3 2005/01/01 02:43:57 rockyb Ex
static char *
strip_trail (const char str[], size_t n)
{
- static char buf[1024];
+ static char buf[1025];
int j;
cdio_assert (n < 1024);