[klibc] rootpath length in ipconfig.
max at stro.at
Thu May 28 09:21:48 PDT 2009
On Thu, May 28, 2009 at 07:54:40AM -0700, H. Peter Anvin wrote:
> Stanislaw Sawa wrote:
> > Hi,
> > Ipconfig when recieves rootpath option from dhcp it truncates it to quite short string (39 characters). It is slightly to short if you start passing rootpath both nfs server ip address and some nfs options through dhcp.
> > The length of this option is defined in usr/kinit/ipconfig/netdev.h
> > #define BPLEN 40
> > Could you bump it up to something higher? 256 might be enough
> > (rfc 2132 doesn't specify max length of this option)
> Should be safe... in theory options can exceed 255 but a lof of software
> doesn't handle it.
yep was already in my patch queue
please apply, thanks.
More information about the klibc