315-5838_317-0229_comp: buffer overflow, coverity 183518

This commit is contained in:
Robbbert 2022-04-10 14:31:50 +10:00
parent 6fc03d481b
commit d46f641e59

View File

@ -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;