From b1157fb4a263730a7aeee629075175d3e331c5c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Tue, 26 Sep 2006 18:13:11 +0000 Subject: Fix off-by-one error identified by Coverit Scan. CID 116. CVS patchset: 8296 CVS date: 2006/09/26 18:13:11 --- src/input/vcd/libcdio/iso9660.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 Copyright (C) 2003, 2004 Rocky Bernstein @@ -37,7 +37,7 @@ #include #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); -- cgit v1.2.3