Closed
Description
shoco_decompress
has buffer overflows in two places when given malformed input.
I would submit a patch but shoco_decompress
returns a size_t
and I am unsure how you would like to signal the error in the API.
The two places are these:
- if the input ends directly after an
0x00
code - if the input ends midway through the packed bytes (for example, directly after any byte with the high-bit set that is not itself immediately preceded by the
0x00
code.)
Metadata
Assignees
Labels
No labels