From 8789e1e8e1ea6571e52cd3ad6afce1d310762cb5 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 27 Aug 2022 01:32:53 +0200 Subject: [PATCH] Increase buffer size for thousands processing E.g. yue does not have many thousands separators, so the value may be very large, possibly as much as maxint. --- src/libespeak-ng/numbers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libespeak-ng/numbers.c b/src/libespeak-ng/numbers.c index 04f95913..6c0b3510 100644 --- a/src/libespeak-ng/numbers.c +++ b/src/libespeak-ng/numbers.c @@ -1185,7 +1185,7 @@ static int LookupThousands(Translator *tr, int value, int thousandplex, int thou // thousands_exact: bit 0 no hundreds,tens,or units, bit 1 ordinal numberr int found; int found_value = 0; - char string[12]; + char string[14]; char ph_of[12]; char ph_thousands[40]; char ph_buf[40];