CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2014/07/09 06:55:31

Modified files:
        sbin/dhclient  : options.c 

Log message:
Special case pretty printing of DHO_CLASSLESS_STATIC_ROUTES and
DHO_CLASSLESS_MS_STATIC_ROUTES. Remove 'C' (CIDR) pretty printing
outside of those special cases. Add a bunch of paranoia to protect
against confused/malicious dhcp servers.

Since 'C' is a variable size element it can't be handled by the
existing code, which is designed for fixed size elements.

Issue found by Someya Yuuichi, reported by yasuoka@ who also provided
the first diff.

ok yasuoka@

Reply via email to