From 275f4a4475073869bf1976db4225016b46378504 Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Tue, 7 Jan 2025 21:41:30 +0000 Subject: [PATCH] Remove arbitrary workspace size limit. I have no memory for why this was ever there. It breaks DNSSEC validation of large RRsets. I can't see any DoS potential that is exposed by removing it. --- src/rrfilter.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/rrfilter.c b/src/rrfilter.c index 33d385c..0e21cd6 100644 --- a/src/rrfilter.c +++ b/src/rrfilter.c @@ -345,9 +345,6 @@ int expand_workspace(unsigned char ***wkspc, int *szp, int new) if (old >= new+1) return 1; - if (new >= 100) - return 0; - new += 5; if (!(p = whine_realloc(*wkspc, new * sizeof(unsigned char *))))