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

Missed conversion from unsigned int to OPJ_INT32 #1398

Merged
merged 45 commits into from
Jan 16, 2022

Conversation

Eharve14
Copy link
Contributor

No description provided.

Eharve14 and others added 30 commits January 13, 2022 00:53
Removed automatically generated settings.json
…d for conformity, relocated check for num images for exicution before allocation and image loading
This reverts commit dbe64d6.
… unsigned for conformity, relocated check for num images for exicution before allocation and image loading"

This reverts commit ab6c7c7.
Added overflow protection in get_num_images function, redefined num_images to unsigned int in compress and decompress to match dump
…t exicution of allocation and strcpy if there are no images.
@Eharve14
Copy link
Contributor Author

Accidentally deleted DWT.c thinking I was deleting the change. this pull request is to resolve a type conversion issue in the main function. The type for num_images in main is OPJ_INT32, return type of get_num_images is unsigned int.

@Eharve14
Copy link
Contributor Author

to be clear I reverted my branch to include DWT.c

@rouault rouault merged commit a1eec9c into uclouvain:master Jan 16, 2022
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