Date: Tue, 15 Feb 2005 10:23:01 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/lpr/lpc lpc.c Message-ID: <200502151023.j1FAN15U004708@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2005-02-15 10:23:01 UTC FreeBSD src repository Modified files: usr.sbin/lpr/lpc lpc.c Log: Be more careful when doing el_parse() - only do it when el is properly initialized, that happens when lpc is called from a tty. Without this change, it's possible to get SIGSEGV simply doing: echo "..:" | lpc Reported by: Wojciech A. Koszek <dunstan at freebsd czest pl> PR: 77462 (patch rewritten by myself) MFC After: 1 week Revision Changes Path 1.29 +1 -1 src/usr.sbin/lpr/lpc/lpc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502151023.j1FAN15U004708>