[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	jason_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2000/07/05 16:42:20

Modified files:
	usr.sbin/mopd/mopd: Tag: OPENBSD_2_7 process.c 

Log message:
Pull in patches from current:
Fixes (maja,aaron,niklas,deraadt,bitblt):
File of the week :-) If Tertiary Loader data link size might not be set.
Since Ethernet is the only data link supported assume datalink to be
1492. Found when ragge_(_at_)_ludd_(_dot_)_luth_(_dot_)_se tried to boot a VAX 6000/400. -moj

If the spec allows 128-character filenames, our buffer has to be at least 129
characters to hold the trailing NULL. This also fixes a one-byte overflow.


Ignore filenames that are longer than spec allows (128 for MOP V4.0.0).
Matt Power <mhpower_(_at_)_mit_(_dot_)_edu>. -moj

creating line ourselves, but just in case, use %s with syslog

string manipluation paranoia changes.  Most probably not exploitable.

Visit your host, monkey.org