hush/networking/udhcp
Denys Vlasenko 7280d2017d udhcpc: sanitize hostnames in incoming packets. Closes 3979.
The following options are replaced with string "bad" if they
contain malformed hostname:
HOST_NAME, DOMAIN_NAME, NIS_DOMAIN, TFTP_SERVER_NAME

function                                             old     new   delta
xmalloc_optname_optval                               850     888     +38
attach_option                                        440     443      +3
len_of_option_as_string                               13      14      +1
dhcp_option_lengths                                   13      14      +1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 43/0)               Total: 43 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-12-08 16:41:05 +01:00
..
arpping.c
common.c udhcpc: sanitize hostnames in incoming packets. Closes 3979. 2011-12-08 16:41:05 +01:00
common.h udhcpc: sanitize hostnames in incoming packets. Closes 3979. 2011-12-08 16:41:05 +01:00
Config.src
d6_common.h
d6_dhcpc.c
d6_packet.c
d6_socket.c
dhcpc.c udhcpc: sanitize hostnames in incoming packets. Closes 3979. 2011-12-08 16:41:05 +01:00
dhcpc.h
dhcpd.c
dhcpd.h
dhcprelay.c
domain_codec.c
dumpleases.c
files.c
Kbuild.src
leases.c
packet.c
signalpipe.c
socket.c
static_leases.c