ohoh...I just found that u already used gdb... :)
when it calls
m = answer_auth(header, ((char *) header) + udp_size, (size_t)n, ...
it seems like udp_size is 0, which causes memset to be called with weird
parameters, which causes the segmentation violation...
so we should find out, what sets udp_size to 0...
can u say what gdb says when u type
# frame 2
# print daemon->edns_pktsz
Christian Kujau <li...@nerdbynature.de> schrieb am 11:10 Freitag, 25.August
On Mon, 21 Aug 2017, AW wrote:
> i found something
> what happens, if u compile dnsmasq with -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 ?
Sorry for the late reply. Unfortunately, these adding these options
doesn't help, dnsmasq is still crashing :-\
More ideas welcome :-)
BOFH excuse #95:
Pentium FDIV bug
Dnsmasq-discuss mailing list