updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / djbdns / axfred.patch
blob6245a909b15ffa4bab6f51398d3fa8b149f11bd6
1 --- response.c.orig 2009-02-24 21:04:06.000000000 -0800
2 +++ response.c 2009-02-24 21:04:25.000000000 -0800
3 @@ -34,7 +34,7 @@
4 uint16_pack_big(buf,49152 + name_ptr[i]);
5 return response_addbytes(buf,2);
7 - if (dlen <= 128)
8 + if ((dlen <= 128) && (response_len < 16384))
9 if (name_num < NAMES) {
10 byte_copy(name[name_num],dlen,d);
11 name_ptr[name_num] = response_len;