看板 DFBSD_commit 關於我們 聯絡資訊
joerg 2005/02/15 08:32:46 PST DragonFly 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) lpc.c, 1.29 Obtained-from: FreeBSD Submitted-by: Xin Li (delphij@freebsd) Revision Changes Path 1.5 +1 -1 src/usr.sbin/lpr/lpc/lpc.c http://www.dragonflybsd.org/cvsweb/src/usr.sbin/lpr/lpc/lpc.c.diff?r1=1.4&r2=1.5&f=u