summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-11 00:52:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-11 00:52:25 +0000
commitf94ceb669fa4236566397b97b03d7b7703fa17ff (patch)
tree7165cf9a7d8d4ebaa0e38bab34135a044bcb90da /gnu
parent0168d914ca3c0acac2abd10c35b265d733e3fad3 (diff)
tromping one byte too far; tron@lyssa.owl.de
Diffstat (limited to 'gnu')
-rw-r--r--gnu/libexec/uucp/uux/uux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/libexec/uucp/uux/uux.c b/gnu/libexec/uucp/uux/uux.c
index 9ceff538340..b655ef790a9 100644
--- a/gnu/libexec/uucp/uux/uux.c
+++ b/gnu/libexec/uucp/uux/uux.c
@@ -26,7 +26,7 @@
#include "uucp.h"
#if USE_RCS_ID
-const char uux_rcsid[] = "$Id: uux.c,v 1.1 1995/10/18 08:38:44 deraadt Exp $";
+const char uux_rcsid[] = "$Id: uux.c,v 1.2 1998/05/11 00:52:24 deraadt Exp $";
#endif
#include "uudefs.h"
@@ -532,7 +532,7 @@ main (argc, argv)
else
{
clen = zexclam - zcmd;
- zforward = zbufalc (clen);
+ zforward = zbufalc (clen + 1);
memcpy (zforward, zcmd, clen);
zforward[clen] = '\0';
zcmd = zexclam + 1;