diff options
author | gad <gad@FreeBSD.org> | 2001-12-05 02:07:20 +0000 |
---|---|---|
committer | gad <gad@FreeBSD.org> | 2001-12-05 02:07:20 +0000 |
commit | bae50f587d4ac74ba93d8e11ee695f6d24dd8994 (patch) | |
tree | a70cd18001a8aa7d9685cf575692001d11fb1c4a /etc/mtree | |
parent | f62c954d2f14b594ba21b0430f8bd3a8d0f3b9b7 (diff) | |
download | FreeBSD-src-bae50f587d4ac74ba93d8e11ee695f6d24dd8994.zip FreeBSD-src-bae50f587d4ac74ba93d8e11ee695f6d24dd8994.tar.gz |
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
Diffstat (limited to 'etc/mtree')
0 files changed, 0 insertions, 0 deletions