diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2017-09-14 11:56:12 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2017-09-20 15:56:02 +0200 |
commit | b16108d018f625d19508e757a9a4d213165ad84a (patch) | |
tree | 51919d5b39056660ae5c574bbb32f7f877f7a727 /source/fitz/load-tiff.c | |
parent | 9313707d515833b05c3aecb5142f5b2ccd3ddcb3 (diff) | |
download | mupdf-b16108d018f625d19508e757a9a4d213165ad84a.tar.xz |
Initialize libjpeg state to avoid crashes upon error.
Previously, in case of error in fz_jpg_mem_init(),
jpeg_finish_decompress()/jpeg_destroy_decompress()
would be called before jpeg_create_decompress() had
initlized all state. This sometimes led to segfaults
or accessing uninitialized data.
Diffstat (limited to 'source/fitz/load-tiff.c')
0 files changed, 0 insertions, 0 deletions