mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +03:00
315-5838_317-0229_comp: buffer overflow, coverity 183518
This commit is contained in:
parent
6fc03d481b
commit
d46f641e59
@ -57,7 +57,7 @@ private:
|
|||||||
uint8_t len = 0; /* in bits */
|
uint8_t len = 0; /* in bits */
|
||||||
uint8_t idx = 0; /* in the dictionary */
|
uint8_t idx = 0; /* in the dictionary */
|
||||||
uint16_t pattern = 0; /* of the first node */
|
uint16_t pattern = 0; /* of the first node */
|
||||||
} tree[12];
|
} tree[13];
|
||||||
int it2 = 0;
|
int it2 = 0;
|
||||||
uint8_t dictionary[256]{};
|
uint8_t dictionary[256]{};
|
||||||
int id = 0;
|
int id = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user