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
..
2011-12-08 16:41:05 +01:00
2011-12-08 16:41:05 +01:00
2011-04-26 02:50:00 +02:00
2011-11-16 20:17:12 +01:00
2011-11-16 20:17:12 +01:00
2011-11-07 18:22:06 +01:00
2011-11-07 15:55:39 +01:00
2011-12-08 16:41:05 +01:00
2011-03-12 05:37:54 +01:00
2011-10-18 00:35:47 +02:00
2011-04-11 03:29:49 +02:00
2011-06-05 03:58:28 +02:00
2011-05-03 16:46:47 +02:00
2011-02-16 13:31:30 +01:00
2011-11-07 15:44:46 +01:00
2011-06-10 05:17:59 +02:00