Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Apr 1997 20:07:04 -0400 (EDT)
From:      Drew Derbyshire <ahd@kew.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/3217: rmail err function
Message-ID:  <199704070007.UAA00417@dumbo.hh.kew.com>
Resent-Message-ID: <199704070440.VAA20805@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr  6 21:40:01 PDT 1997
>Last-Modified:
>Originator:     Drew Derbyshire
>Organization:
Kendra Electronic Wonderworks, Stoneham MA
>Release:        FreeBSD 2.2-RELEASE i386
>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.

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704070007.UAA00417>