Closed bmribler closed 6 months ago
When jpeg_start_decompress failed, the JPEG library exit with failure, causing a crash in user's application.
Override the JPEG routine error_exit to return an error code instead, and prevent the segfault.
Fixed GH-295
When jpeg_start_decompress failed, the JPEG library exit with failure, causing a crash in user's application.
Override the JPEG routine error_exit to return an error code instead, and prevent the segfault.
Fixed GH-295