freebsd-dev/usr.sbin/lpr/lpd
Garance A Drosehn 7cf2c478e4 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
2001-12-05 02:07:20 +00:00
..
extern.h
lpd.8
lpd.c
lpdchar.c
Makefile
modes.c
printjob.c
recvjob.c Move the checks for '/' a little sooner in the code which receives files 2001-12-05 02:07:20 +00:00