diff options
author | root <root@rshg054.dnsready.net> | 2013-10-26 01:22:45 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-10-26 01:22:45 -0700 |
commit | 24152c3ea77087edccf017c13d44904a75799ff7 (patch) | |
tree | 65e25106816e5071dd5b2edc2270e0138c23dc7c /extra/dnsmasq/0001-Fix-wrong-size-in-memset-call.patch | |
parent | 5a3821aec094b38a412cf5e6997c08b6428d6f77 (diff) |
Sat Oct 26 01:21:13 PDT 2013
Diffstat (limited to 'extra/dnsmasq/0001-Fix-wrong-size-in-memset-call.patch')
-rw-r--r-- | extra/dnsmasq/0001-Fix-wrong-size-in-memset-call.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/extra/dnsmasq/0001-Fix-wrong-size-in-memset-call.patch b/extra/dnsmasq/0001-Fix-wrong-size-in-memset-call.patch deleted file mode 100644 index 05223cdb2..000000000 --- a/extra/dnsmasq/0001-Fix-wrong-size-in-memset-call.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 71aaad9f663efda7032e27c201a7025ff6332a2d Mon Sep 17 00:00:00 2001 -From: Simon Kelley <simon@thekelleys.org.uk> -Date: Thu, 18 Apr 2013 09:47:49 +0100 -Subject: [PATCH] Fix wrong size in memset() call. - -Thanks to Dave Reisner. ---- - src/ipset.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/ipset.c b/src/ipset.c -index a34ed96..f175fa4 100644 ---- a/src/ipset.c -+++ b/src/ipset.c -@@ -110,7 +110,7 @@ static int new_add_to_ipset(const char *setname, const struct all_addr *ipaddr, - return -1; - } - -- memset(buffer, 0, sizeof(buffer)); -+ memset(buffer, 0, BUFF_SZ); - - nlh = (struct nlmsghdr *)buffer; - nlh->nlmsg_len = NL_ALIGN(sizeof(struct nlmsghdr)); --- -1.8.2.1 - |