summaryrefslogtreecommitdiff
path: root/source/fitz/text.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2018-09-20 10:52:42 +0800
committerSebastian Rasmussen <sebras@gmail.com>2018-09-20 11:10:43 +0800
commit94d6166428a679baa5a34fc5faa18a2aa26cee4a (patch)
tree06255230447d827856aaf37de875f7c3dfdfc5a0 /source/fitz/text.c
parent6cb730b004ec8ca463be7d7d0f8b2626352fce86 (diff)
downloadmupdf-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/text.c')
0 files changed, 0 insertions, 0 deletions