From: INDIA\kanagavels Date: Wed, 18 Jun 2025 13:12:54 +0000 (+0530) Subject: Fixes #27831: Decreased NAMEMAP_HT_BUCKETS to 512. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b3161bd9a9329be3d6bf6b29a06835e2721898bb;p=thirdparty%2Fopenssl.git Fixes #27831: Decreased NAMEMAP_HT_BUCKETS to 512. Decreased the NAMEMAP_HT_BUCKETS value to 512, to avoid memory allocation fail issues. CLA: Trivial Signed-off-by: Kanagavel S Reviewed-by: Neil Horman Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/27850) --- diff --git a/crypto/core_namemap.c b/crypto/core_namemap.c index f36f070fa2a..4b1380a6f2d 100644 --- a/crypto/core_namemap.c +++ b/crypto/core_namemap.c @@ -13,7 +13,7 @@ #include "internal/sizes.h" #include "crypto/context.h" -#define NAMEMAP_HT_BUCKETS 2048 +#define NAMEMAP_HT_BUCKETS 512 HT_START_KEY_DEFN(namenum_key) HT_DEF_KEY_FIELD_CHAR_ARRAY(name, 64)