NetBSD Problem Report #30432

From lukem@mewburn.net  Sun Jun  5 06:41:59 2005
Return-Path: <lukem@mewburn.net>
Received: from home.mewburn.net (home.mewburn.net [150.101.166.131])
	by narn.netbsd.org (Postfix) with ESMTP id 3172E63B104
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  5 Jun 2005 06:41:59 +0000 (UTC)
Message-Id: <20050605064146.276E22BDC3@home.mewburn.net>
Date: Sun,  5 Jun 2005 16:41:46 +1000 (EST)
From: lukem@NetBSD.org
Reply-To: lukem@NetBSD.org
To: gnats-bugs@netbsd.org
Subject: rcorder doesn't perform enough sanity checking
X-Send-Pr-Version: 3.95

>Number:         30432
>Category:       bin
>Synopsis:       rcorder doesn't perform enough sanity checking
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 05 06:42:00 +0000 2005
>Last-Modified:  Wed May 25 22:52:17 +0000 2022
>Originator:     Luke Mewburn
>Release:        NetBSD 3.0_BETA
>Organization:
TNF
>Environment:
Architecture: i386
Machine: i386
>Description:
	rcorder(8) doesn't provide enough sanity checking;
	when you provide the same file multiple times on
	the command line it just gets added to the internal
	"list of filenames" and other data structures.

>How-To-Repeat:
	Code inspection.
	I'm sure a test case can be easily consed up to prove this.

>Fix:
	Detect if a file is being added again and provide
	a mechanism to override the previous entry, taking
	into account the other data structures that already
	refer to the previous node.

>Release-Note:

>Audit-Trail:

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.