From d46f641e5922ddfd7cfafecf1ccceba47b012d11 Mon Sep 17 00:00:00 2001 From: Robbbert Date: Sun, 10 Apr 2022 14:31:50 +1000 Subject: 315-5838_317-0229_comp: buffer overflow, coverity 183518 --- src/mame/machine/315-5838_317-0229_comp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/machine/315-5838_317-0229_comp.h b/src/mame/machine/315-5838_317-0229_comp.h index de3cbc894fa..72500307da7 100644 --- a/src/mame/machine/315-5838_317-0229_comp.h +++ b/src/mame/machine/315-5838_317-0229_comp.h @@ -57,7 +57,7 @@ private: uint8_t len = 0; /* in bits */ uint8_t idx = 0; /* in the dictionary */ uint16_t pattern = 0; /* of the first node */ - } tree[12]; + } tree[13]; int it2 = 0; uint8_t dictionary[256]{}; int id = 0; -- cgit v1.2.3