From owner-cvs-all Wed Jul 18 22: 4: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 1AF6037B403; Wed, 18 Jul 2001 22:04:46 -0700 (PDT) (envelope-from kris@FreeBSD.org) Received: (from kris@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6J54ka10016; Wed, 18 Jul 2001 22:04:46 -0700 (PDT) (envelope-from kris) Message-Id: <200107190504.f6J54ka10016@freefall.freebsd.org> From: Kris Kennaway Date: Wed, 18 Jul 2001 22:04:46 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/mailwrapper mailwrapper.c X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG kris 2001/07/18 22:04:46 PDT Modified files: (Branch: RELENG_4) usr.sbin/mailwrapper mailwrapper.c Log: MFC: r1.6: You can't free a string and then use it as the error message to errx. Instead use warn to print the string, then cleanup and exit normally. This fixes a core dump if the executable to be run doesn't exist. Revision Changes Path 1.4.2.2 +3 -2 src/usr.sbin/mailwrapper/mailwrapper.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message