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-06-12 17:15:16 +02:00
2011-12-08 16:41:05 +01:00
2011-06-05 03:58:28 +02:00
2011-06-05 03:58:28 +02:00
2011-04-11 03:29:49 +02:00
2011-03-06 19:42:51 +01:00
2011-07-08 05:47:49 +02:00
2011-06-10 05:17:59 +02:00
2011-06-05 03:58:28 +02:00
2011-06-05 03:58:28 +02:00
2011-06-05 03:58:28 +02:00
2010-08-16 20:14:46 +02:00
2009-11-13 09:37:50 +01: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-06-05 03:58:28 +02:00
2011-06-10 05:17:59 +02:00
2011-10-19 02:37:08 +02:00
2011-09-15 18:27:05 +02:00
2011-06-10 05:17:59 +02:00
2011-12-06 18:59:55 +01:00
2011-06-05 03:58:28 +02:00
2011-06-05 03:58:28 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-11-28 23:01:18 +01:00
2011-06-10 05:34:05 +02:00
2011-01-18 13:58:01 +01:00
2011-10-19 22:31:01 +02:00
2011-06-05 03:58:28 +02:00
2011-06-05 03:58:28 +02:00
2011-04-11 03:29:49 +02:00
2010-10-29 11:46:52 +02:00
2011-06-05 03:58:28 +02:00
2011-09-11 20:27:28 +02:00
2011-06-05 03:58:28 +02:00
2011-06-05 03:58:28 +02:00
2011-06-05 03:58:28 +02:00
2011-06-10 05:34:05 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2011-07-25 16:35:44 +02:00
2011-07-08 08:49:40 +02:00
2011-06-05 03:58:28 +02:00
2009-04-21 11:09:40 +00:00
2011-10-06 17:19:09 +02:00
2011-09-07 17:55:40 +02:00
2011-06-05 03:58:28 +02:00
2011-06-05 03:58:28 +02:00
2011-09-11 21:04:02 +02:00
2011-06-05 03:58:28 +02:00
2011-09-21 01:59:15 +02:00