summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2022-04-10 14:31:50 +1000
committer Robbbert <Robbbert@users.noreply.github.com>2022-04-10 14:31:50 +1000
commitd46f641e5922ddfd7cfafecf1ccceba47b012d11 (patch)
treea633f143db2f80fad462c843297b7338a314cb57 /src/mame/machine
parent6fc03d481b07a825e46f7de4e7696dfd171ce39f (diff)
315-5838_317-0229_comp: buffer overflow, coverity 183518
Diffstat (limited to 'src/mame/machine')
-rw-r--r--src/mame/machine/315-5838_317-0229_comp.h2
1 files changed, 1 insertions, 1 deletions
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;