From ahd@dumbo.hh.kew.com  Sun Apr  6 21:31:47 1997
Received: from who.cdrom.com (who.cdrom.com [204.216.27.3])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA18048
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 6 Apr 1997 21:31:46 -0700 (PDT)
Received: from dumbo.hh.kew.com (root@dumbo.hh.kew.com [192.195.203.133])
          by who.cdrom.com (8.8.5/8.6.11) with ESMTP id RAA27429
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 6 Apr 1997 17:07:39 -0700 (PDT)
Received: (from root@localhost)
	by dumbo.hh.kew.com (8.8.5/8.8.5) id UAA00417;
	Sun, 6 Apr 1997 20:07:04 -0400 (EDT)
Message-Id: <199704070007.UAA00417@dumbo.hh.kew.com>
Date: Sun, 6 Apr 1997 20:07:04 -0400 (EDT)
From: Drew Derbyshire <ahd@kew.com>
Reply-To: ahd@kew.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: rmail err function
X-Send-Pr-Version: 3.2

>Number:         3217
>Category:       misc
>Synopsis:       The rmail.c err() function will fail in most cases
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr  6 21:40:01 PDT 1997
>Closed-Date:    Sat Aug 23 16:21:14 MEST 1997
>Last-Modified:  Sat Aug 23 16:21:46 MEST 1997
>Originator:     Drew Derbyshire
>Release:        FreeBSD 2.2-RELEASE i386
>Organization:
Kendra Electronic Wonderworks, Stoneham MA
>Environment:

	sendmail and uucp being used with rmail as interface

>Description:

	The rmail.c module includes a 'err' function to "make it
	a bit more portable".  However, this version is very 
	incomplete, always assuming the second argument is valid,
	when in fact the err is often invoked with a value of NULL.
	

>How-To-Repeat:

	Cause malloc to fail in rmail.	

>Fix:
	
	Use the real library version of err.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sat Aug 23 16:21:14 MEST 1997 
State-Changed-Why:  

Phillipe Charnier has recently moved this utility to the libc's err(3) 
function. 
>Unformatted:
