From mpp  Sun Apr  6 12:26:13 1997
Received: (from mpp@localhost)
          by freefall.freebsd.org (8.8.5/8.8.5) id MAA27548;
          Sun, 6 Apr 1997 12:26:13 -0700 (PDT)
Message-Id: <199704061926.MAA27548@freefall.freebsd.org>
Date: Sun, 6 Apr 1997 12:26:13 -0700 (PDT)
From: mpp@freebsd.org
Reply-To: mpp@freebsd.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: ctm uses mktemp()>
X-Send-Pr-Version: 3.2

>Number:         3211
>Category:       bin
>Synopsis:       ctm uses mktemp()>
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr  6 12:30:01 PDT 1997
>Closed-Date:    Mon Jul 27 15:26:50 PDT 1998
>Last-Modified:  Mon Jul 27 15:27:23 PDT 1998
>Originator:     Mike Pritchard
>Release:        FreeBSD 2.1.6.1-RELEASE i386
>Organization:
Mike Pritchard
>Environment:

>Description:

	This PR was obtained from OpenBSD PR user/151:

	since ctm is imported from FreeBSD, it should be updated and
        at the same time the FreeBSD people should be fed back a patch
	which removes the need for ctm to use mktemp()

>How-To-Repeat:

	===> usr.sbin/ctm/ctm_rmail
	cc -O  -Wall   -c /usr/src/usr.sbin/ctm/ctm_rmail/ctm_rmail.c
	cc -O  -Wall   -c /usr/src/usr.sbin/ctm/ctm_rmail/error.c
	cc   -o ctm_rmail ctm_rmail.o error.o
	ctm_rmail.o: warning: mktemp() possibly used unsafely; consider using mkstemp()
	nroff -mandoc /usr/src/usr.sbin/ctm/ctm_rmail/ctm_rmail.1 > ctm_rmail.cat1


>Fix:

	Wait for OpenBSD to fix it?
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: nectar 
State-Changed-When: Mon Jul 27 15:26:50 PDT 1998 
State-Changed-Why:  
fixed in -CURRENT, rev 1.14 of ctm/ctm_rmail/ctm_rmail.c. 
>Unformatted:
