isc-dhcp: Remove --disable-tracing from configure args
authorHeath Kehoe <redacted>
Sun, 2 Jun 2019 20:00:20 +0000 (20:00 +0000)
committerHeath Kehoe <redacted>
Mon, 3 Jun 2019 03:19:07 +0000 (03:19 +0000)
commite86624e13bd2b45530000dceb977cda45266122d
tree3b2d46e8761320da1b946c29c4132455117248bb
parent72dc6f669a960c233a6d19af3806ba423387a01c
isc-dhcp: Remove --disable-tracing from configure args

This fixes a crash that happens when dhcpd is configured with a failover
peer, and the failover peer goes down. The crash is due to a dereference
of a freed object. When tracing is enabled (which is the default) the
object in question is referenced by the tracing code and so doesn't get
freed prematurely. I have observed this crash on two different target
platforms (mips and x86_64), and it is reproducible on non-OpenWRT
distros by building isc-dhcpd using --disable-tracing.

This has been reported to ISC, but their response was that it's a low
priority as the simple work-around is to leave tracing enabled.

Re-enabling the tracing code only increases the size of the executable
by about 24KB.

Signed-off-by: Heath Kehoe <redacted>
net/isc-dhcp/Makefile
git clone https://git.99rst.org/PROJECT