[Dnsmasq-discuss] Testers wanted: DNSSEC.

Henk Jan Agteresch henkjan at agteresch.nl
Thu Feb 6 19:24:57 GMT 2014


On Thu, 06 Feb 2014, Simon Kelley wrote:

> On 06/02/14 10:17, Henk Jan Agteresch wrote:
> >I compiled 2.69test6 on armv5tel (linksys 4200v2 running debian) using
> >dpkg-buildpackage.
> >dnsmasq crashes on the first received query with "*** stack smashing
> >detected ***: /usr/sbin/dnsmasq terminated"
> >
> 
> Fixed code in 2.69test for from git pull.
> 
> It seems to take the extra checking compiler flags that Debian
> packag builds use, and an ARM architecture, to detect this, same
> build flags on i386 didn't find it.
> 
> The moral of this story is don't used fixed-size buffers, even for
> fixed strings. One day you may expand the strings, and then the
> buffer will be too small :-(
> 
> Thanks for the bug report.
> 

Compiled and works like a charm on my router. Thanks for the quick
fix! I'll do some more testing.

-- 
Regards,
Henk Jan Agteresch



More information about the Dnsmasq-discuss mailing list