Re: [Dnsmasq-discuss] [PATCH] Fix segfault when file extension is not passed in --conf-dir

2014-10-02 Thread Simon Kelley
On 02/10/14 15:03, Tomas Hozza wrote: > Hello. > > while testing dnsmasq 2.72 I discovered it can fail with segfault. > > Reproducer: > ./dnsmasq --conf-dir=., > > I'm attaching a patch. Thanks, I applied a fix that just ignores empty suffices, the semantics are defined, and it avoids yet anoth

[Dnsmasq-discuss] [PATCH] Fix segfault when file extension is not passed in --conf-dir

2014-10-02 Thread Tomas Hozza
Hello. while testing dnsmasq 2.72 I discovered it can fail with segfault. Reproducer: ./dnsmasq --conf-dir=., I'm attaching a patch. Also I scanned the 2.72 version against 2.71 version with coverity. It looks good except one issue I'm not sure if it is worth fixing: Error: RESOURCE_LEAK (CWE-

Re: [Dnsmasq-discuss] Shellshock.

2014-10-02 Thread Roy Marples
On 2014-09-29 20:17, Simon Kelley wrote: On 27/09/14 11:01, Roy Marples wrote: On Friday 26 Sep 2014 21:14:20 Simon Kelley wrote: This is just a heads-up that if you're using the --dhcp-script option in dnsmasq, and the script you're calling is being interpreted by bash, then you're affected b

Re: [Dnsmasq-discuss] Secondary dnsmasq server?

2014-10-02 Thread richardvo...@gmail.com
If dnsmasq had every imaginable feature, like syncing the DHCP lease list for failover, then it would no longer be "easy and small". You can, however, do something almost as good: * Don't use dhcp-authoritative * Give each of the two servers non-overlapping pools of addresses Just a quick questio