summaryrefslogtreecommitdiff
path: root/source/tools/pdfsign.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2018-08-22 21:49:46 +0800
committerSebastian Rasmussen <sebras@gmail.com>2018-08-22 21:56:10 +0800
commit04c37454b9ef5a0576c3dd34adc7426450bf18e7 (patch)
tree02657e9d5a92671f4c8694378c1862369de7e253 /source/tools/pdfsign.c
parenta43bac812d152761b03c1e080d452e7595e78754 (diff)
downloadmupdf-04c37454b9ef5a0576c3dd34adc7426450bf18e7.tar.xz
Bug 699667: Remember to update gstate pointers when showing patterns.
pdf_show_pattern() may resize the pdf run processors gstate array. In doing so any pointers to it saved by called will become stale. Similarly to pdf_begin_group() pdf_show_pattern() now returns the updated pointer to the top of the gstate stack. For the same reason pdf_show_pattern() can not be given a pointer to a gstate stack entry and continue using it after the gstate array has been resized. So, have pdf_show_pattern() take an index to the desired state instead.
Diffstat (limited to 'source/tools/pdfsign.c')
0 files changed, 0 insertions, 0 deletions