summaryrefslogtreecommitdiff
path: root/source/fitz/load-tiff.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-09-14 11:56:12 +0200
committerSebastian Rasmussen <sebras@gmail.com>2017-09-20 15:56:02 +0200
commitb16108d018f625d19508e757a9a4d213165ad84a (patch)
tree51919d5b39056660ae5c574bbb32f7f877f7a727 /source/fitz/load-tiff.c
parent9313707d515833b05c3aecb5142f5b2ccd3ddcb3 (diff)
downloadmupdf-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