From owner-cvs-all Sat May 5 20: 3:49 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BDCCB37B424; Sat, 5 May 2001 20:03:45 -0700 (PDT) (envelope-from kris@FreeBSD.org) Received: (from kris@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4633jk43252; Sat, 5 May 2001 20:03:45 -0700 (PDT) (envelope-from kris) Message-Id: <200105060303.f4633jk43252@freefall.freebsd.org> From: Kris Kennaway Date: Sat, 5 May 2001 20:03:45 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/ctm/ctm ctm_pass2.c ctm_passb.c src/usr.sbin/ctm/ctm_rmail ctm_rmail.c error.c error.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG kris 2001/05/05 20:03:45 PDT Modified files: usr.sbin/ctm/ctm ctm_pass2.c ctm_passb.c usr.sbin/ctm/ctm_rmail ctm_rmail.c error.c error.h Log: * fix ctm(8) to use mkstemp() instead of tempnam() for tempfile creation. * Tag the internal err() function with __printflike to allow checking for non-constant format string arguments (none exist) * Use fmtcheck() to sanitize the tar command obtained via -t to make sure it doesn't contain extraneous format operators. Reviewed by: mikeh MFC after: 1 week Revision Changes Path 1.19 +54 -4 src/usr.sbin/ctm/ctm/ctm_pass2.c 1.6 +2 -2 src/usr.sbin/ctm/ctm/ctm_passb.c 1.16 +2 -2 src/usr.sbin/ctm/ctm_rmail/ctm_rmail.c 1.3 +6 -1 src/usr.sbin/ctm/ctm_rmail/error.c 1.2 +3 -1 src/usr.sbin/ctm/ctm_rmail/error.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message