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

Fixed segfault in DF24getimage #579

Merged
merged 2 commits into from
Feb 25, 2024
Merged

Conversation

bmribler
Copy link
Collaborator

When jpeg_start_decompress failed, the JPEG library exit with failure, causing a crash in user's application.

Override the JPEG routine error_exit to return an error code instead, and prevent the segfault.

Fixed GH-295

bmribler and others added 2 commits February 21, 2024 17:43
When jpeg_start_decompress failed, the JPEG library exit with failure, causing a crash in user's application.

Overrided the JPEG routine error_exit to return an error code instead, and prevent the segfault.

Fixed HDFGroupGH-295
@derobins derobins added Component - C Library Core C library issues Type - Bug Please report security issues to help@hdfgroup.org instead of creating an issue on GitHub Priority - 1. High 🔼 These are important issues that should be resolved in the next release labels Feb 21, 2024
@derobins derobins marked this pull request as draft February 22, 2024 13:51
@derobins derobins marked this pull request as ready for review February 25, 2024 00:52
@derobins derobins merged commit 0db1489 into HDFGroup:master Feb 25, 2024
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - C Library Core C library issues Priority - 1. High 🔼 These are important issues that should be resolved in the next release Type - Bug Please report security issues to help@hdfgroup.org instead of creating an issue on GitHub
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(HDFFR-1597) SegV with hdf4 function 'DF24getimage'
3 participants