[Dnsmasq-discuss] reproducible segmentation fault
AW
arne_woerner at yahoo.com
Sun Aug 27 06:28:48 BST 2017
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 <lists at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20170827/c859a597/attachment.html>
More information about the Dnsmasq-discuss
mailing list