Date: Sat, 27 Oct 2001 02:50:02 -0700 (PDT) From: Bruce Evans <bde@zeta.org.au> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/31483: minor correction in error message printed by acpiconf.8 Message-ID: <200110270950.f9R9o2A82201@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/31483; it has been noted by GNATS. From: Bruce Evans <bde@zeta.org.au> To: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org> Cc: <freebsd-gnats-submit@FreeBSD.ORG> Subject: Re: bin/31483: minor correction in error message printed by acpiconf.8 Date: Sat, 27 Oct 2001 19:40:34 +1000 (EST) On Thu, 25 Oct 2001, Mitsuru IWASAKI wrote: > To: cjclark@alum.mit.edu, cristjc@earthlink.net > > ACPIDEV is a #define'd constant string. It is not a security > > vulnerability to use it as the original poster did. The original > > poster's code is, > > > > err(1, "/dev/acpi"); > > > > By the time the compiler gets to it. No format string vulnerability. > > > > Anyway, here is a general err.h and sysexits.h cleanup of the program > > that I'll commit if msmith and iwasaki don't mind, > > Thanks taking care of this, I don't mind so please commit :-) Use non-cryptic error messages, not sysexits.h. sysexits.h is only understood by a a couple of programs (mainly sendmail). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110270950.f9R9o2A82201>