summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/ipx.c
diff options
context:
space:
mode:
authorgad <gad@FreeBSD.org>2004-12-31 00:18:42 +0000
committergad <gad@FreeBSD.org>2004-12-31 00:18:42 +0000
commita8001e07a0a6eafe699578bd97cf5efd54ab363f (patch)
tree5bcc67a654ad3e05c1f0eb543f74b5bead4aa873 /usr.bin/netstat/ipx.c
parentf9d4c165abcb579336ee991762c61dffaa04c1d1 (diff)
downloadFreeBSD-src-a8001e07a0a6eafe699578bd97cf5efd54ab363f.zip
FreeBSD-src-a8001e07a0a6eafe699578bd97cf5efd54ab363f.tar.gz
Do more extensive checking of the userid field which is read in from the
control-file for each print job. This is partially because the previous checks still let through some characters which would cause trouble for other applications which try to process the resulting userid -- such as accounting programs. But the main reason is to handle the case where some remote host sends a print job where the given userid is an uppercase-version of the real userid. For that case, lpd will now check for uppercase letters in the userid. If there are any, it will check to see if the given userid (with the uppercase letters) is a valid one. If it is *not* valid, then lpd will change the userid to all-lowercase right when the job is received. MFC after: 2 weeks
Diffstat (limited to 'usr.bin/netstat/ipx.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud