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

Fix assertion failure (denial of service bug) in calcstepsizes() #158

Closed
wants to merge 4 commits into from
Closed

Fix assertion failure (denial of service bug) in calcstepsizes() #158

wants to merge 4 commits into from

Conversation

MaxKellermann
Copy link
Contributor

No description provided.

Much of the formula is bloated and superfluous.
Avoid the assertion failure in the JPC_QCX_EXPN() function.  While the
"expn" variable cannot be bigger than 0x1f, adding something to it may
exceed that limit.

This condition could be exploited with a malicious JP2 file, allowing
a denial of service attack on processes which parse JP2 files.
@jubalh
Copy link
Member

jubalh commented Mar 12, 2019

@mdadams this one looks also good to me. Any reason for no feedback/merge?

@jubalh jubalh mentioned this pull request Jul 3, 2019
@MaxKellermann
Copy link
Contributor Author

Since this repository is abandoned and @mdadams has not replied for several years to my code submissions and emails, I'll be moving my efforts to fix Jasper to https://github.com/jasper-maint/jasper

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

Successfully merging this pull request may close these issues.

2 participants