Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vlccomp32, vhicomp32 corrupt memory for small input buffers #130

Open
pps83 opened this issue Mar 6, 2024 · 0 comments
Open

vlccomp32, vhicomp32 corrupt memory for small input buffers #130

pps83 opened this issue Mar 6, 2024 · 0 comments

Comments

@pps83
Copy link
Contributor

pps83 commented Mar 6, 2024

when input buffer is less than 8 bytes these will corrupt memory. I think these start writing at tmp[-4]. If input buffer size is 0, then lz4 will be called with size_t(0-4).

Another issue, vsdec32 supposedly returns end of consumed input buffer. It returns sometimes 1 byte less than expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant