[Dnsmasq-discuss] [PATCH] ipset: fix incorrect length passed to memset

2013-04-17 Thread Dave Reisner
Exposed by a gcc compiler warning: ipset.c:113:27: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] memset(buffer, 0, sizeof(buffer)); --- src/ipset.c | 2 +- 1 file changed, 1

Re: [Dnsmasq-discuss] [PATCH] Error: SECURE_CODING

2013-04-23 Thread Dave Reisner
On Tue, Apr 23, 2013 at 03:55:11PM +0200, Tomas Hozza wrote: Coverity output: dnsmasq-2.66/src/ipset.c:173: secure_coding: [VERY RISKY]. Using strcpy can cause a buffer overflow when done incorrectly. If the destination string of a strcpy() is not large enough then anything might happen. Use

Re: [Dnsmasq-discuss] Announce: dnsmasq-2.69

2014-04-09 Thread Dave Reisner
On Wed, Apr 09, 2014 at 09:36:08PM +0100, Simon Kelley wrote: On 09/04/14 21:32, Dave Reisner wrote: On Wed, Apr 09, 2014 at 09:13:33PM +0100, Simon Kelley wrote: Dnsmasq-2.69 is here. http://www.thekelleys.org.uk/dnsmasq/dnsmasq-2.69.tar.gz and (new) a signature http