dhcpd-pools/src
Sami Kerola c28488cbe8 getdata: realloc instead of asserting
Ahmed reported he saw the following error with version 2.15 which
is an indication of unusual high number of clients that has been
seen. I am not sure where that happen, but I suspect an airport
or some other 'lots of mobiles getting leases' might be able to
case same situation.

dhcpd-pools: getdata.c:136: parse_leases: Assertion `!(touchesmallocsize < num_touches)' failed.

The problem was quite easy to fix simply getting rid of assert
and putting realloc in place.

Reported-by: Ahmed AL Dakhil <a.aldakhil@go.com.sa>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-07-08 14:36:47 +02:00
..
.gitignore Proper .gitignore files 2011-01-21 23:03:22 +01:00
analyze.c licensing: use FreeBSD license (was GNUv3) 2011-06-21 22:54:03 +02:00
defaults.h licensing: use FreeBSD license (was GNUv3) 2011-06-21 22:54:03 +02:00
dhcpd-pools.c licensing: use FreeBSD license (was GNUv3) 2011-06-21 22:54:03 +02:00
dhcpd-pools.h licensing: use FreeBSD license (was GNUv3) 2011-06-21 22:54:03 +02:00
getdata.c getdata: realloc instead of asserting 2011-07-08 14:36:47 +02:00
Makefile.am licensing: use FreeBSD license (was GNUv3) 2011-06-21 22:54:03 +02:00
other.c licensing: use FreeBSD license (was GNUv3) 2011-06-21 22:54:03 +02:00
output.c licensing: use FreeBSD license (was GNUv3) 2011-06-21 22:54:03 +02:00
sort.c licensing: use FreeBSD license (was GNUv3) 2011-06-21 22:54:03 +02:00