-
Notifications
You must be signed in to change notification settings - Fork 502
Added check for integer overflow in get_num_images #1397
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
Merged
+42
−21
Merged
Changes from 24 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
33c2d33
Added multiplication check to calloc calls in opj_compress, opj_decom…
Eharve14 d564919
Added multiplication check for calloc calls, see comment on commit 79…
Eharve14 c261172
Delete settings.json
Eharve14 fc2d47a
Fixed typo
Eharve14 85b471f
Merge branch 'master' of https://github.com/Eharve14/openjpeg
Eharve14 e74ee84
Revised to address int overflow in for loop only
Eharve14 d8fe126
Revert "Revised to address int overflow in for loop only"
Eharve14 968cf54
Revised to catch negitive values of num_images
Eharve14 efa9c7e
Revised to casts, deleted all other changes
Eharve14 98f4ace
style updates
Eharve14 a0b7102
Style part two
Eharve14 3058194
I am bad and I feel bad, I should have just used the scrypt
Eharve14 7c42257
Why, why is this happening
Eharve14 323a089
Update src/bin/jp2/opj_dump.c
rouault e27cfb3
Update src/bin/jp2/opj_dump.c
rouault ab6c7c7
Added overflow check to get_num_images, defined num_images as unsigne…
Eharve14 dbe64d6
Fixed style
Eharve14 957a6cd
Revert "Fixed style"
Eharve14 cbc8b26
Revert "Added overflow check to get_num_images, defined num_images as…
Eharve14 3882583
Merge pull request #1 from uclouvain/master
Eharve14 912a144
Fixed issues with get_num_images, moved the zero file check to preven…
Eharve14 96c6587
Same as last
Eharve14 21ac2bb
Merge branch 'master' of https://github.com/Eharve14/openjpeg
Eharve14 081bc3e
Fixed style
Eharve14 e011787
Added import of limits.h, revised overflow check, Redefined Return va…
Eharve14 7766d9c
Added return statement to break iteration
Eharve14 67536c7
Style fix
Eharve14 43bf2be
Re-Revised to use break statement instead of return.
Eharve14 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.