From: Arran Cudbard-Bell Date: Wed, 15 May 2024 00:36:15 +0000 (-0600) Subject: This could equal to the length of the pool X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f518b9d6b08ec5d2858e60ec19aeb94b8cfab255;p=thirdparty%2Ffreeradius-server.git This could equal to the length of the pool --- diff --git a/src/lib/util/talloc.c b/src/lib/util/talloc.c index ae749e2a03..4625ca1d38 100644 --- a/src/lib/util/talloc.c +++ b/src/lib/util/talloc.c @@ -401,7 +401,7 @@ TALLOC_CTX *talloc_page_aligned_pool(TALLOC_CTX *ctx, void **start, size_t *end_ /* * We can't protect pages after the pool */ - fr_assert(((uintptr_t)*start + *end_len) < ((uintptr_t)pool + alloced)); + fr_assert(((uintptr_t)*start + *end_len) <= ((uintptr_t)pool + alloced)); return pool; }