From 9c24ce551d19ac0f5cac4bc9ff5ef5a7a980909d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lourens=20Naud=C3=A9?= Date: Thu, 25 Apr 2019 22:35:43 +0100 Subject: [PATCH] Reduce the minimum string buffer size from 127 to 63 bytes --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string.c b/string.c index 77f360b8d2..7f0468ff19 100644 --- a/string.c +++ b/string.c @@ -1346,7 +1346,7 @@ str_new_empty(VALUE str) return v; } -#define STR_BUF_MIN_SIZE 127 +#define STR_BUF_MIN_SIZE 63 STATIC_ASSERT(STR_BUF_MIN_SIZE, STR_BUF_MIN_SIZE > RSTRING_EMBED_LEN_MAX); VALUE