NetBSD Problem Report #20599

Received: (qmail 23065 invoked by uid 605); 6 Mar 2003 15:12:37 -0000
Message-Id: <20030306151234.2302B11152@narn.netbsd.org>
Date: Thu,  6 Mar 2003 07:12:34 -0800 (PST)
From: nobu@psrc.isac.co.jp
Sender: gnats-bugs-owner@netbsd.org
Reply-To: nobu@psrc.isac.co.jp
To: gnats-bugs@gnats.netbsd.org
Subject: misc/fep fix a bug
X-Send-Pr-Version: www-1.0

>Number:         20599
>Category:       pkg
>Synopsis:       misc/fep fix a bug
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    salo
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 06 15:13:00 +0000 2003
>Closed-Date:    Sun Mar 09 04:41:31 +0000 2003
>Last-Modified:  Sun Mar 09 04:41:31 +0000 2003
>Originator:     Nobuhiro Yasutomi
>Release:        
>Organization:
>Environment:
>Description:
Phil Shafer <phil@juniper.net> pointed buffer overrun case[*] and fix it.
  [*] Use ^U when fulled line buffer.
Please add following patch.


>How-To-Repeat:

>Fix:
--- 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:

From: Lubomir Sedlacik <salo@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:  
Subject: pr/20599 CVS commit: pkgsrc/misc/fep
Date: Sun,  9 Mar 2003 06:39:30 +0200 (EET)

 Module Name:	pkgsrc
 Committed By:	salo
 Date:		Sun Mar  9 04:39:30 UTC 2003

 Modified Files:
 	pkgsrc/misc/fep: Makefile distinfo
 	pkgsrc/misc/fep/patches: patch-ae

 Log Message:
 Fix: Using ^U when line buffer is full will cause overrun. Bump PKGREVISION.
 Patch submitted by Nobuhiro Yasutomi via PR pkg/20599.


 To generate a diff of this commit:
 cvs rdiff -r1.8 -r1.9 pkgsrc/misc/fep/Makefile
 cvs rdiff -r1.2 -r1.3 pkgsrc/misc/fep/distinfo
 cvs rdiff -r1.1 -r1.2 pkgsrc/misc/fep/patches/patch-ae

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed 
State-Changed-By: salo 
State-Changed-When: Sat Mar 8 20:40:53 PST 2003 
State-Changed-Why:  
patch applied, thanks. 


Responsible-Changed-From-To: pkg-manager->salo 
Responsible-Changed-By: salo 
Responsible-Changed-When: Sat Mar 8 20:40:53 PST 2003 
Responsible-Changed-Why:  
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.