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

Memory corruption in PackJPG #17

Closed
schnaader opened this issue Jan 20, 2016 · 1 comment
Closed

Memory corruption in PackJPG #17

schnaader opened this issue Jan 20, 2016 · 1 comment
Assignees

Comments

@schnaader
Copy link
Owner

For certain invalid JPG fragments (see attached file), PackJPG corrupts the heap with a double free.

invalid_jpg

@schnaader schnaader self-assigned this Jan 20, 2016
@schnaader schnaader added this to the Precomp v0.4.5 milestone Jan 20, 2016
schnaader added a commit that referenced this issue Jan 20, 2016
- Double free in PackJPG's frealloc for the rare case of size == 0
- Fixes issue #17
@schnaader
Copy link
Owner Author

Fixed in v0.4.5 development branch.

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

No branches or pull requests

1 participant