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 when unable to parse the channel list #1158

Merged

Conversation

kdt3rd
Copy link
Contributor

@kdt3rd kdt3rd commented Sep 25, 2021

Fixes google OSS Fuzz 39198

Signed-off-by: Kimball Thurston kdt3rd@gmail.com

Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
src/lib/OpenEXRCore/parse_header.c Outdated Show resolved Hide resolved
Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
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 c2e7a37 into AcademySoftwareFoundation:master Sep 26, 2021
cary-ilm pushed a commit to cary-ilm/openexr that referenced this pull request Sep 27, 2021
…eFoundation#1158)

* Fix memory leak when unable to parse the channel list

Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>

* Fix english error, fix up same copy/paste error elsewhere, type tags

Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
cary-ilm pushed a commit that referenced this pull request Sep 29, 2021
* Fix memory leak when unable to parse the channel list

Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>

* Fix english error, fix up same copy/paste error elsewhere, type tags

Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
@kdt3rd kdt3rd deleted the fix_chlist_leak_bad_header branch February 12, 2022 21:10
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.

2 participants