[Poppler-bugs] [Bug 105759] [Patch] Add support for next Actions in PDF Forms

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 9 14:38:56 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105759

Andre Heinecke <aheinecke at intevation.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #138373|0                           |1
        is obsolete|                            |

--- Comment #2 from Andre Heinecke <aheinecke at intevation.de> ---
Created attachment 138704
  --> https://bugs.freedesktop.org/attachment.cgi?id=138704&action=edit
Patch to add support for next actions - Update 1

Yes. I thought "well we are in PDF Form / JavaScript Land" anyway but you are
right, of course, segfaulting with an endless memory allocation is never nice
:-P

I've updated the patch accordingly and update the visibilitytest.pdf document
that I use in the okular unittest to contain such a loop. This allowed me to
reproduce a segmentation fault without this change.


Could you extend / add the visibilitytest.pdf to also contain an array of next
actions that show such a loop? I was unable to construct one. I could replace a
ref to a next action but when I tried to change it to an array I only produced
invalid pdfs. So the second codepath relating to the Arrays is untested :-/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20180409/f306b9b6/attachment.html>


More information about the Poppler-bugs mailing list