You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I've noted on #7053, that pull request changed Pillow to start passing int64_t via variable argument list when libtiff expects TIFF_LONG (i.e. a uint32_t), which is clearly wrong.
In my opinion, the best way to deal with this would be to revert the change to the C code, reopen #7008 and address it properly. The current solution is worse than the problem, as it breaks TIFF support entirely where variable argument passing isn't incidentally "close enough" for 32-bit/64-bit integers. The correct solution would be to pass these EXIF tags as TIFF_IFD8 (perhaps TIFF_LONG8 will work too), rather than modify the behavior for TIFF_LONG.
What did you do?
python -m pytest Tests/test_file_libtiff.py
on a 32-bit PowerPC system.What did you expect to happen?
Tests passing.
What actually happened?
A sample backtrace:
Original bug report, with detailed logs: https://bugs.gentoo.org/942034
What are your OS, Python and Pillow versions?
I've been able to bisect it to b1b0353.
Report from the bisected commit:
The text was updated successfully, but these errors were encountered: