hush/networking
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-07-08 05:47:49 +02:00
2011-02-03 00:05:48 +01:00
2011-11-29 20:54:30 +01:00
2011-06-10 05:17:59 +02:00
2011-10-19 02:37:08 +02:00
2011-12-06 18:59:55 +01:00
2010-11-28 23:01:18 +01:00
2011-10-19 22:31:01 +02:00
2010-10-29 11:46:52 +02:00
2011-07-25 16:35:44 +02:00
2011-07-08 08:49:40 +02:00
2011-10-06 17:19:09 +02:00
2011-09-21 01:59:15 +02:00