Skip to content

Conversation

ramsey
Copy link
Member

@ramsey ramsey commented Feb 10, 2019

The memory leak occurs when more than one UserComment tag is present in the EXIF data. It's still considered corrupt EXIF data, but this ensures the memory is freed before trying to set to already allocated memory.

@cmb69
Copy link
Member

cmb69 commented Feb 10, 2019

cc @KalleZ

The memory leak occurs when more than one UserComment tag is present in
the EXIF data. It's still considered corrupt EXIF data, but this ensures
the memory is freed before trying to set to already allocated memory.
@ramsey
Copy link
Member Author

ramsey commented Feb 11, 2019

@nikic I've made the recommended changes and have rebased my branch.

@nikic
Copy link
Member

nikic commented Feb 12, 2019

Merged as c429444 into 7.2+. Thanks!

@nikic nikic closed this Feb 12, 2019
@KalleZ
Copy link
Member

KalleZ commented Feb 12, 2019

Thanks for the fix @ramsey, sorry I was a little late with the commenting but the fix looks good! I do wonder if there could be similar issues with other tags

@ramsey
Copy link
Member Author

ramsey commented Feb 12, 2019

Good point, @KalleZ. I'll dig around and see what I can find.

@ramsey ramsey deleted the bug-77564 branch February 16, 2019 17:49
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.

5 participants