hush/networking/udhcp
Denys Vlasenko 936c401077 dhcpd: fix an improper widening conversion
We wanted to detect when tv_sec = unsigned1 - unsigned2
underflows by looking at tv_sec's sign. But if tv_sec
is long and it is wider than unsigned, we get unsigned -> long
conversion which is in this case never negative.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2015-01-27 21:59:40 +01:00
..
arpping.c udhcpd: add option for tweaking arpping 2014-10-30 11:59:04 +01:00
common.c udhcp: add PXELINUX path prefix option (code 210) definition 2014-07-16 14:21:42 +02:00
common.h udhcpd: add option for tweaking arpping 2014-10-30 11:59:04 +01:00
Config.src udhcpc: make hostname sanitization optional. Closes 3979 2014-06-16 00:17:00 +02:00
d6_common.h
d6_dhcpc.c udhcpc: fix BPF filter. Hopefully fixes the root cause of 4598 and 6746 2014-02-19 14:17:11 +01:00
d6_packet.c
d6_socket.c
dhcpc.c udhcpd: account for script delay in lease 2014-12-25 21:12:51 +01:00
dhcpc.h
dhcpd.c dhcpd: fix an improper widening conversion 2015-01-27 21:59:40 +01:00
dhcpd.h udhcpd: add option for tweaking arpping 2014-10-30 11:59:04 +01:00
dhcprelay.c
domain_codec.c
dumpleases.c
files.c udhcpd: if a lease from lease file coincides with a static one, ignore it 2014-11-25 18:49:14 +01:00
Kbuild.src
leases.c udhcpd: add option for tweaking arpping 2014-10-30 11:59:04 +01:00
packet.c udhcpc: make DHCP packets to have at least 300 DHCP bytes 2013-10-28 23:27:37 +01:00
signalpipe.c
socket.c
static_leases.c