Date: Thu, 6 Mar 2003 23:57:12 +0900 (JST) From: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/48979: ports/misc/fep fix a bug Message-ID: <200303061457.h26EvCaT031869@vivian.mysite.ddo.jp>
next in thread | raw e-mail | index | archive | help
>Number: 48979 >Category: ports >Synopsis: ports/misc/fep fix a bug >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 06 07:00:28 PST 2003 >Closed-Date: >Last-Modified: >Originator: Nobuhiro Yasutomi >Release: FreeBSD 4.7-RELEASE i386 >Organization: >Environment: System: FreeBSD vivian.mysite.ddo.jp 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT 2002 root@builder.freebsdmall.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: Phil Shafer <phil@juniper.net> pointed buffer overrun case and fix it. Please add following patch. >How-To-Repeat: >Fix: diff -urN fep.orig/files/patch-fep_edit.c fep/files/patch-fep_edit.c --- fep.orig/files/patch-fep_edit.c Thu Jan 1 09:00:00 1970 +++ fep/files/patch-fep_edit.c Thu Mar 6 09:55:54 2003 @@ -0,0 +1,11 @@ +--- fep_edit.c.orig Fri Jan 20 17:16:37 1995 ++++ fep_edit.c Thu Mar 6 09:42:13 2003 +@@ -426,7 +426,7 @@ + + currentNull = strlen (CommandLine); + +- if (currentNull >= maxline) { ++ if (currentNull + 1 >= maxline) { + errorBell(); + return (0); + } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303061457.h26EvCaT031869>