busybox/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 *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
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 udhcp: add FEATURE_UDHCP_8021Q option 2011-04-26 02:50:00 +02:00
d6_common.h udhcpc6: rudimentary code to export data to script; fix IAADDR parsing 2011-11-16 20:17:12 +01:00
d6_dhcpc.c udhcpc6: rudimentary code to export data to script; fix IAADDR parsing 2011-11-16 20:17:12 +01:00
d6_packet.c udhcpc6: set hop limit to 1 in emitted raw packets 2011-11-07 18:22:06 +01:00
d6_socket.c udhcpc6: new applet. Not yet functional. 2011-11-07 15:55:39 +01:00
dhcpc.c udhcpc: sanitize hostnames in incoming packets. Closes 3979. 2011-12-08 16:41:05 +01:00
dhcpc.h udhcpc: emit "correct" secs field 2011-03-12 05:37:54 +01:00
dhcpd.c udhcp: IF_UDHCP_VERBOSE() macro - improve code readability 2011-10-18 00:35:47 +02:00
dhcpd.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
dhcprelay.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
domain_codec.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
dumpleases.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
files.c udhcp: fix some default values from "" to NULL 2011-05-03 16:46:47 +02:00
Kbuild.src *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
leases.c udhcpd: optional IP selection based on MAC hash 2011-02-16 13:31:30 +01:00
packet.c udhcpc: trim help text, rename badly-named variable 2011-11-07 15:44:46 +01:00
signalpipe.c udhcp: cosmetic cleanups; one case of s/full_read/xread/ 2010-03-26 10:09:34 +01:00
socket.c *: simplify Ethernet header includes 2011-06-10 05:17:59 +02:00
static_leases.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00