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 <kanagavels@ami.com>

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27850)
This commit is contained in:
INDIA\kanagavels 2025-06-18 18:42:54 +05:30 committed by Matt Caswell
parent de5a619aa0
commit b3161bd9a9

View File

@ -13,7 +13,7 @@
#include "internal/sizes.h" #include "internal/sizes.h"
#include "crypto/context.h" #include "crypto/context.h"
#define NAMEMAP_HT_BUCKETS 2048 #define NAMEMAP_HT_BUCKETS 512
HT_START_KEY_DEFN(namenum_key) HT_START_KEY_DEFN(namenum_key)
HT_DEF_KEY_FIELD_CHAR_ARRAY(name, 64) HT_DEF_KEY_FIELD_CHAR_ARRAY(name, 64)