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