From owner-cvs-all Sun Jun 3 21:23: 1 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 3F48E37B405; Sun, 3 Jun 2001 21:22:58 -0700 (PDT) (envelope-from paul@FreeBSD.org) Received: (from paul@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f544Mwd31406; Sun, 3 Jun 2001 21:22:58 -0700 (PDT) (envelope-from paul) Message-Id: <200106040422.f544Mwd31406@freefall.freebsd.org> From: Paul Richards Date: Sun, 3 Jun 2001 21:22:58 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/mailwrapper mailwrapper.c X-FreeBSD-CVS-Branch: HEAD 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 paul 2001/06/03 21:22:58 PDT Modified files: usr.sbin/mailwrapper mailwrapper.c Log: 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.6 +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