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
?

-arne 

    Christian Kujau <li...@nerdbynature.de> schrieb am 11:10 Freitag, 25.August 
2017:
 

 On Mon, 21 Aug 2017, AW wrote:
> i found something 
> similar:http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2017q3/011691.html
> 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 :-)

Christian.
-- 
BOFH excuse #95:

Pentium FDIV bug


   
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to