Date: Sun, 3 Jun 2001 21:22:58 -0700 (PDT) From: Paul Richards <paul@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/mailwrapper mailwrapper.c Message-ID: <200106040422.f544Mwd31406@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106040422.f544Mwd31406>
