[Dnsmasq-discuss] reproducible segmentation fault

Christian Kujau lists at nerdbynature.de
Sun Aug 27 09:33:46 BST 2017


On Sun, 27 Aug 2017, Christian Kujau wrote:
> > can u say what gdb says when u type
> > # frame 2
> > # print daemon->edns_pktsz
> 
> Hm, this doesn't work:

Hah, in another attempt this worked:

(gdb) frame 2
#2  0x0040d047 in receive_query (listen=listen at entry=0x8202c0, now=now at entry=1503822478) at forward.c:1433
1433          m = answer_request(header, ((char *) header) + udp_size, (size_t)n, 
(gdb) print daemon->edns_pktsz
$1 = 4096

This is from dnsmasq v2.77, cross-compiled for MIPS 24K and linked against 
musl, so it would run on my ar71xx type router (where I noticed the crash 
in the first place).

Christian.
-- 
BOFH excuse #185:

system consumed all the paper for paging



More information about the Dnsmasq-discuss mailing list