diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2018-09-20 10:52:42 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2018-09-20 11:10:43 +0800 |
commit | 94d6166428a679baa5a34fc5faa18a2aa26cee4a (patch) | |
tree | 06255230447d827856aaf37de875f7c3dfdfc5a0 /source/fitz/filter-predict.c | |
parent | 6cb730b004ec8ca463be7d7d0f8b2626352fce86 (diff) | |
download | mupdf-94d6166428a679baa5a34fc5faa18a2aa26cee4a.tar.xz |
Bug 699798: Avoid removing page from list if page was not loaded.
MuPDF may attempt to load a page but fail to do so, e.g. due to
a circular page tree. When this happens the page will never be
introduced into the document's list of pages. Its next and prev
pointers are both NULL, but the code in fz_drop_page() falsely
assumed that the prev pointer was always set.
Thanks to oss-fuzz for reporting.
Diffstat (limited to 'source/fitz/filter-predict.c')
0 files changed, 0 insertions, 0 deletions