Date: Sat, 14 Jul 2001 22:29:38 -0700 (PDT) From: Garance A Drosehn <gad@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/lpr/common_source ctlinfo.c ctlinfo.h Makefile src/usr.sbin/lpr/lpd recvjob.c Message-ID: <200107150529.f6F5TcH49427@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2001/07/14 22:29:38 PDT Modified files: usr.sbin/lpr/common_source Makefile usr.sbin/lpr/lpd recvjob.c Added files: usr.sbin/lpr/common_source ctlinfo.c ctlinfo.h Log: Change lpd to perform sanity and safety checks on control files as it receives them from other hosts. This is meant to protect from both nefarious users (which maybe broke into some remote host that we accept print jobs from), and broken implementations of lpr on other platforms. This is done by changing recvjob.c to call the new ctl_renametf() routine in the new common_source/ctlinfo.[ch] files. This will not affect jobs coming via lpr on the local machine. Reviewed by: freebsd-print@bostonradio.org & freebsd-audit MFC after: 16 days Revision Changes Path 1.6 +3 -3 src/usr.sbin/lpr/common_source/Makefile 1.22 +8 -5 src/usr.sbin/lpr/lpd/recvjob.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107150529.f6F5TcH49427>