Subject: Re: CVS commit: syssrc/sys/nfs
To: Simon Burge <simonb@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 05/12/2002 07:58:12
On Sun, May 12, 2002 at 03:53:00PM +0300, Simon Burge wrote:

 > Module Name:	syssrc
 > Committed By:	simonb
 > Date:		Sun May 12 12:52:59 UTC 2002
 > 
 > Modified Files:
 > 	syssrc/sys/nfs: nfs_bootdhcp.c
 > 
 > Log Message:
 > In bootpcheck(), make sure we m_pullup() all the of bootp header that we
 >  actually examine.

Ah, cool!  Thanks for looking into this, Simon!

Hm, I wonder what happens if we end up with a bootp (or dhcp) reply
which is longer than the space available in an mbuf.  Perhaps an m_copydata
into a buffer allocated on the stack might be better?

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>