Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JPEG: Add error-recovery when saving with libjpeg
Because we have set up libjpeg to use my_error_exit, we need to call setjmp() before the first time it might possibly call longjmp(). Otherwise, on error we'll do a non-local goto to an uninitialized pointer and crash. Resolves: #429 Signed-off-by: Simon McVittie <[email protected]>
- Loading branch information