ASAN: memory leak in udp_bind
Configuration file:
trust_anchors.add(". IN DS 19036 8 2 49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5")
net.listen({"::1", "127.0.0.1"}, 5300)
cache.size = 100 * MB
verbose(true)
Start and stop the server:
./_install/bin/kresd -c _server/config.lua
[system] interactive mode
> quit()
nil
>
=================================================================
==667==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 384 byte(s) in 2 object(s) allocated from:
#0 0x7f37a8072f40 in calloc (/lib64/libasan.so.3+0xc6f40)
#1 0x55e5bd4418c7 in udp_bind (/home/fcelda/devel/resolver/_install/bin/kresd+0xd8c7)
SUMMARY: AddressSanitizer: 384 byte(s) leaked in 2 allocation(s).
GCC 6.6.1, CFLAGS=-fsanitize=adress