added djbdns patch provided by Johnny Halfmoon
removed dnsmasq.patch as the options were included upstream already. git-svn-id: svn://svn.openwrt.org/openwrt/packages@15612 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
11
net/djbdns/patches/300-bugfix1-dempsky.patch
Normal file
11
net/djbdns/patches/300-bugfix1-dempsky.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/response.c.orig 2009-02-24 21:04:06.000000000 -0800
|
||||
+++ b/response.c 2009-02-24 21:04:25.000000000 -0800
|
||||
@@ -34,7 +34,7 @@
|
||||
uint16_pack_big(buf,49152 + name_ptr[i]);
|
||||
return response_addbytes(buf,2);
|
||||
}
|
||||
- if (dlen <= 128)
|
||||
+ if ((dlen <= 128) && (response_len < 16384))
|
||||
if (name_num < NAMES) {
|
||||
byte_copy(name[name_num],dlen,d);
|
||||
name_ptr[name_num] = response_len;
|
Reference in New Issue
Block a user