Subject: CVS commit: basesrc/usr.sbin/lpr/lpd
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 12/05/2001 00:52:44
Module Name:	basesrc
Committed By:	christos
Date:		Tue Dec  4 22:52:44 UTC 2001

Modified Files:
	basesrc/usr.sbin/lpr/lpd: recvjob.c

Log Message:
Make sure that the we have a valid pathname. [We did the check too late,
and we had a buffer overflow].  Bug found by Sebastian Krahmer of SuSE,
fix inspired by patch 008 for OpenBSD-3.0.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 basesrc/usr.sbin/lpr/lpd/recvjob.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.