Subject: | Huge address range in config leads to crash of dhcpd |
Date: | Tue, 24 Feb 2015 17:05:53 +0100 |
To: | dhcp-bugs@isc.org |
From: | "Jiri Popelka" <jpopelka@gmail.com> |
When dhcpd is configured to serve addresses from a huge pool of
addresses it crashes. Sample config:
subnet 10.0.0.0 netmask 255.0.0.0 {
range 10.0.0.2 10.255.255.254;
}
Tried with dhcp-4.1.1-P1 and dhcp-4.3.2rc1.
When I decrease size of the address pool to for example
range 10.0.0.2 10.100.255.254;
dhcpd runs OK (or claims that it has
'No memory for address range 10.0.0.2-10.100.255.254').
It's of course not a real use-case, but it might reveal a bug somewhere.
I don't have any patch, just a backtrace and valgrind output, see
attachments.
They are from dhcp-4.3.2rc1, no patches applied.
--
Jiri Popelka
Red Hat, inc.
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.