Date: Tue, 4 Dec 2001 18:07:20 -0800 (PST) From: Garance A Drosehn <gad@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/lpr/lpd recvjob.c Message-ID: <200112050207.fB527K697174@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2001/12/04 18:07:20 PST
Modified files:
usr.sbin/lpr/lpd recvjob.c
Log:
Move the checks for '/' a little sooner in the code which receives files
for a remote print job. This change comes from OpenBSD (who got it from
Sebastian Krahmer of SuSE). In OpenBSD this avoids a tiny theoretical
security issue, but that security issue does not exist in FreeBSD's lpr
due to the changes which added 'ctl_renametf()' just before 4.4-release.
This change is still worth doing in our version, but it isn't fixing a
security issue.
MFC after: 4 days
Revision Changes Path
1.26 +9 -9 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?200112050207.fB527K697174>
