Skip to content

Conversation

@radarhere
Copy link
Member

Alternative to #8992

I've found that since #8954 was merged, there have been intermittent errors.

Testing, I find that the minimal change to fix the problem is to restore one of the calls to TIFFCleanup, and then to set clientstate->tiff = NULL to prevent ImagingLibTiffEncodeCleanup from running afterwards.

@radarhere radarhere added the TIFF label Jun 7, 2025
@radarhere radarhere changed the title Fixed libtiff cleanup Fix libtiff cleanup Jun 14, 2025
@radarhere radarhere added this to the 11.3.0 milestone Jun 19, 2025
@radarhere radarhere mentioned this pull request Jun 21, 2025
@radarhere radarhere merged commit acd8b0c into python-pillow:main Jun 24, 2025
56 of 57 checks passed
@radarhere radarhere deleted the tiff_cleanup branch June 24, 2025 23:09
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.

1 participant