1
--- maradns-1.4.05/dns/Compress.c 2010-07-31 01:17:08.000000000 -0600
2
+++ maradns-1.4.06/dns/Compress.c 2011-01-28 18:28:46.000000000 -0700
4
#include "functions_dns.h"
6
/* Maximum allowed number of dlabel points */
7
-#define MAX_DLABEL_POINTS 512
8
+#define MAX_DLABEL_POINTS 160
10
/* Maximum allowed length of compressed string; this is 4096 for TCP
16
- if((new->dlabel_points = js_alloc(MAX_DLABEL_POINTS + 3,1)) == 0) {
17
+ if((new->dlabel_points = js_alloc(MAX_DLABEL_POINTS + 3,sizeof(int)))
19
js_destroy(new->compressed);