<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:aheinecke@intevation.de" title="Andre Heinecke <aheinecke@intevation.de>"> <span class="fn">Andre Heinecke</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Patch] Add support for next Actions in PDF Forms"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105759">bug 105759</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Attachment #138373 is obsolete</td>
           <td>
                
           </td>
           <td>1
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Patch] Add support for next Actions in PDF Forms"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105759#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Patch] Add support for next Actions in PDF Forms"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105759">bug 105759</a>
              from <span class="vcard"><a class="email" href="mailto:aheinecke@intevation.de" title="Andre Heinecke <aheinecke@intevation.de>"> <span class="fn">Andre Heinecke</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=138704" name="attach_138704" title="Patch to add support for next actions - Update 1">attachment 138704</a> <a href="attachment.cgi?id=138704&action=edit" title="Patch to add support for next actions - Update 1">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=105759&attachment=138704'>[review]</a>
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 :-/</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>