15 lines
418 B
Plaintext
15 lines
418 B
Plaintext
|
tromping one byte too far; tron@lyssa.owl.de
|
||
|
|
||
|
$OpenBSD: patch-uux_c,v 1.1.1.1 2001/07/13 02:27:16 fgsch Exp $
|
||
|
--- uux.c.orig Sun Aug 20 15:29:57 1995
|
||
|
+++ uux.c Thu Jul 12 21:35:20 2001
|
||
|
@@ -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;
|