openwrt-packages/net/conserver
Darren Tucker 69b24ecf6f conserver: free correct addrinfo to prevent crash.
When looping through addrinfo lists in AddrsMatch, keep a copy of the
original addrinfo pointers to free instead of ending up at the terminating
NULLs and trying to free those.

OpenWRT uses musl in which freeaddrinfo(NULL) is not safe (which is
fine, it's not required by the spec) so this fixes a segfault.

Signed-off-by: Darren Tucker <dtucker@dtucker.net>
2024-02-24 12:14:18 -08:00
..
files conserver: add back config.guess and config.sub to fix build 2019-03-27 21:00:20 +01:00
patches conserver: free correct addrinfo to prevent crash. 2024-02-24 12:14:18 -08:00
Makefile conserver: free correct addrinfo to prevent crash. 2024-02-24 12:14:18 -08:00