diff options
author | salo <salo@pkgsrc.org> | 2003-03-09 04:39:29 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2003-03-09 04:39:29 +0000 |
commit | 83839d8544c98af80ce68356cd99fd277f6d0d27 (patch) | |
tree | 0f3e232bda0fd763f03bab06547f59158945474e /misc/fep | |
parent | 89b63f491b08e655a9e5fd75c6c25c064ef4db99 (diff) | |
download | pkgsrc-83839d8544c98af80ce68356cd99fd277f6d0d27.tar.gz |
Fix: Using ^U when line buffer is full will cause overrun. Bump PKGREVISION.
Patch submitted by Nobuhiro Yasutomi via PR pkg/20599.
Diffstat (limited to 'misc/fep')
-rw-r--r-- | misc/fep/Makefile | 3 | ||||
-rw-r--r-- | misc/fep/distinfo | 4 | ||||
-rw-r--r-- | misc/fep/patches/patch-ae | 15 |
3 files changed, 16 insertions, 6 deletions
diff --git a/misc/fep/Makefile b/misc/fep/Makefile index 393304cb0a1..d3163a10d80 100644 --- a/misc/fep/Makefile +++ b/misc/fep/Makefile @@ -1,9 +1,10 @@ -# $NetBSD: Makefile,v 1.8 2001/09/09 20:36:36 agc Exp $ +# $NetBSD: Makefile,v 1.9 2003/03/09 04:39:29 salo Exp $ # FreeBSD Id: Makefile,v 1.2 1996/11/11 05:49:31 obrien Exp # DISTNAME= fep PKGNAME= fep-1.0 +PKGREVISION= 1 CATEGORIES= misc MASTER_SITES= ftp://ftp.sra.co.jp/pub/cmd/ diff --git a/misc/fep/distinfo b/misc/fep/distinfo index a50a4327b8d..844b3ce48b0 100644 --- a/misc/fep/distinfo +++ b/misc/fep/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2001/04/20 13:52:11 agc Exp $ +$NetBSD: distinfo,v 1.3 2003/03/09 04:39:29 salo Exp $ SHA1 (fep.tar.gz) = 73fa55337b12dba3b91c9895e2c9adbbdfa9d960 Size (fep.tar.gz) = 40137 bytes @@ -6,7 +6,7 @@ SHA1 (patch-aa) = a24a99e7823e3e00a2356714b8bfed9224618d3a SHA1 (patch-ab) = 9f778dfbf3a2c427680edc50ee49bd42444d96f0 SHA1 (patch-ac) = dca990ac75afa7f34ef9fbd1f58702d7a144a0e0 SHA1 (patch-ad) = a507e7f8b7d2b21d09f0403fa243fcf7120afa78 -SHA1 (patch-ae) = 2b2dbd95772fc0c9ed559e503e681ff476293f43 +SHA1 (patch-ae) = 2c2fc7c43c4a8d641c76318df76f902ec3ccb62c SHA1 (patch-af) = d5e38e18b69ccd81a0d98385f7fb746c5c29b4e2 SHA1 (patch-ag) = 6d2fd45f147fcad933589e548df939ae097e0239 SHA1 (patch-ah) = 9e22fa41d866e916090c73c17f234f19d1d47fa3 diff --git a/misc/fep/patches/patch-ae b/misc/fep/patches/patch-ae index 3075c3a5a0e..6fa9416cce3 100644 --- a/misc/fep/patches/patch-ae +++ b/misc/fep/patches/patch-ae @@ -1,7 +1,7 @@ -$NetBSD: patch-ae,v 1.1 2000/02/07 03:18:11 christos Exp $ +$NetBSD: patch-ae,v 1.2 2003/03/09 04:39:29 salo Exp $ ---- fep_edit.c.orig Fri Jan 20 03:16:37 1995 -+++ fep_edit.c Sun Feb 6 21:46:22 2000 +--- fep_edit.c.orig 1995-01-20 09:16:37.000000000 +0100 ++++ fep_edit.c 2003-03-09 05:26:37.000000000 +0100 @@ -8,7 +8,17 @@ #include <stdio.h> #include <sys/types.h> @@ -98,6 +98,15 @@ $NetBSD: patch-ae,v 1.1 2000/02/07 03:18:11 christos Exp $ && curFuncTab[c] != send_eof && ! look_var ("ignore-eof") && CommandLine [0] == '\0' +@@ -426,7 +465,7 @@ + + currentNull = strlen (CommandLine); + +- if (currentNull >= maxline) { ++ if (currentNull + 1 >= maxline) { + errorBell(); + return (0); + } @@ -1481,7 +1520,11 @@ */ send_eof() |