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

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	krw_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2007/01/06 16:21:08

Modified files:
	sbin/dhclient  : options.c 

Log message:
Fix options parsing. Last commit lost the proper length of the
incoming packet.  But since we bzero() the packet buffer before
copying the incoming data into it, and the options are at the end, and
we use a fixed sized buffer, and 0's are ignored as pad options, and
proper option lists end with 0xff, it's simplier to always try to scan
the whole buffer.

Problem found by, and patch tested by kettenis_(_at_)__(_dot_)_

Visit your host, monkey.org