From d3b4e080c8d072aea32b9caa83622d9a774bb694 Mon Sep 17 00:00:00 2001 From: "INDIA\\kanagavels" Date: Wed, 18 Jun 2025 18:42:54 +0530 Subject: [PATCH] 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) (cherry picked from commit b3161bd9a9329be3d6bf6b29a06835e2721898bb) --- crypto/core_namemap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.2