Skip to content

Missed conversion from unsigned int to OPJ_INT32 #1398

Merged
rouault merged 45 commits intouclouvain:masterfrom
Eharve14:master
Jan 16, 2022
Merged

Missed conversion from unsigned int to OPJ_INT32 #1398
rouault merged 45 commits intouclouvain:masterfrom
Eharve14:master

Conversation

@Eharve14
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

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

Comment thread src/bin/jp2/opj_decompress.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