Date: Tue, 22 Feb 2005 02:54:36 +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: <200502220254.j1M2sadc092203@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2005-02-22 02:54:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) usr.sbin/lpr/lpc lpc.c Log: MFC revision 1.29 date: 2005/02/15 10:23:01; author: delphij; state: Exp; lines: +1 -1 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.28.4.1 +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?200502220254.j1M2sadc092203>