diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-09-26 21:20:21 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-09-26 21:20:21 +0000 |
commit | 3a8877f973bb74515f3203a0af15c343fc9ae71d (patch) | |
tree | 8d23c3642f71ba5234017db4f0fe33b91b5006ae /src | |
parent | d207d3a5415dd3d980b7f2e40ec656587b052b48 (diff) | |
download | xine-lib-3a8877f973bb74515f3203a0af15c343fc9ae71d.tar.gz xine-lib-3a8877f973bb74515f3203a0af15c343fc9ae71d.tar.bz2 |
Avoid off-by-one overrun. Found by Coverity Scan CID 120.
CVS patchset: 8303
CVS date: 2006/09/26 21:20:21
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-engine/xine_interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/xine_interface.c b/src/xine-engine/xine_interface.c index 2eea1104d..344dce775 100644 --- a/src/xine-engine/xine_interface.c +++ b/src/xine-engine/xine_interface.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_interface.c,v 1.97 2006/08/13 23:51:34 miguelfreitas Exp $ + * $Id: xine_interface.c,v 1.98 2006/09/26 21:20:21 dgp85 Exp $ * * convenience/abstraction layer, functions to implement * libxine's public interface @@ -913,7 +913,7 @@ int _x_message(xine_stream_t *stream, int type, ...) { int n; va_list ap; char *s, *params; - char *args[1024]; + char *args[1025]; static char *std_explanation[] = { "", N_("Warning:"), |