From 0c074834ce81f58122ce47839cb81962d8e52721 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 28 Apr 2010 14:29:14 +0000 Subject: [PATCH] --- src/hostlist/hostlist-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hostlist/hostlist-server.c b/src/hostlist/hostlist-server.c index 5313b5432..f660da66e 100644 --- a/src/hostlist/hostlist-server.c +++ b/src/hostlist/hostlist-server.c @@ -228,7 +228,7 @@ host_processor (void *cls, "HELLO", GNUNET_i2s (peer)); #endif - if (old + s >= MAX_BYTES_PER_HOSTLISTS) + if ( (old + s >= GNUNET_MAX_MALLOC_CHECKED) || (old + s >= MAX_BYTES_PER_HOSTLISTS) ) { GNUNET_STATISTICS_update (stats, gettext_noop("bytes not included in hostlist (size limit)"), -- 2.25.1