Date: Wed, 18 Jul 2001 22:04:46 -0700 (PDT) From: Kris Kennaway <kris@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/mailwrapper mailwrapper.c Message-ID: <200107190504.f6J54ka10016@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107190504.f6J54ka10016>
