cvs commit: src/usr.sbin/lpr/lpc lpc.c

看板DFBSD_commit作者時間21年前 (2005/02/18 21:36), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #125Uzk00 (DFBSD_commit)