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 memory leak in RgbaInputFile constructor #1221

Merged

Conversation

peterhillman
Copy link
Contributor

Fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43771
Update RgfbaInputFile constructors to prevent memory leakage of _multiPartFile if InputFile constructor throws an exception

Signed-off-by: Peter Hillman peterh@wetafx.co.nz

Signed-off-by: Peter Hillman <peterh@wetafx.co.nz>
Copy link
Member

@cary-ilm cary-ilm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cary-ilm cary-ilm merged commit aeaf98f into AcademySoftwareFoundation:master Jan 19, 2022
@peterhillman peterhillman deleted the rgba_memleak branch January 19, 2022 19:38
cary-ilm pushed a commit to cary-ilm/openexr that referenced this pull request Apr 2, 2022
…on#1221)

Signed-off-by: Peter Hillman <peterh@wetafx.co.nz>
Signed-off-by: Cary Phillips <cary@ilm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants