Hi,

On Thu, Jul 02, 2015 at 11:56:28AM +0200, Jan Just Keijser wrote:
> +    write_dhcp_str (buf, 66, o->tftp, &error);
> +    write_dhcp_str (buf, 150, o->tftp, &error);

This does not look safe to me (or I'm overlooking something) - if 
o->tftp is not set, it will do "strlen(o->tftp)" inside write_dhcp_str()...

(And we generally shouldn't set options that we do not have anything 
to say for :) ).

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]
fax: +49-89-35655025                        [email protected]

Attachment: pgpheqHkI5JbI.pgp
Description: PGP signature

Reply via email to