You need to log in before you can comment on or make changes to this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=603081 exhibits a test case that crashes various libtiff tools: it's a file that has SamplesPerPixel = 1 and Photometric = YCbCr. This is of course bogus, but there are code paths in tif_getimage.c that assume YCbCr images always have SPP=3 without checking it. The patch attached there fixes it by duplicating in PickContigCase() a safety check that already existed in PickSeparateCase().
Tom, Thank you for report, patch applied both in 3.9 and 4.0 branches. Best regards, Andrey