In DCMTK jpeg_decompress_struct is extended, there is
/* Options that enable or disable various workarounds */
unsigned int workaround_options;
/* constants for workaround_options in struct jpeg_decompress_struct */
#define WORKAROUND_PREDICTOR6OVERFLOW 1
#define WORKAROUND_BUGGY_CORNELL_16BIT_JPEG_ENCODER 2
In GDCM it is not available, predictor patch is simply removed.
I don’t think the issue appears often. For “Predictor” bug - both, working and not-working files are 16 bit lossless JPEG signed short, AFAIK. Probably not very important, i hope, not 100% sure. Can be fixed with
dcmdjpeg is someone has many files, IMHO.