ICEpdf
  1. ICEpdf
  2. PDF-743

Infinite loop on content parsing

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      The PDF in question (Master with annotations.pdf) has two page that send the pro content parser into an infinit loop. Further work is need to address this issue.

        Activity

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 5.0.7 [ 11470 ]
        Patrick Corless made changes -
        Fix Version/s 5.1 [ 10675 ]
        Fix Version/s 5.0.7 [ 11470 ]
        Hide
        Patrick Corless added a comment -

        Added sample to support drive, \\iceads1\support\PDF\700\743

        Show
        Patrick Corless added a comment - Added sample to support drive, \\iceads1\support\PDF\700\743
        Hide
        Patrick Corless added a comment -

        The file in question has streams that are not property encoded for example "[(Opgave 1))]" should have been encoding, [(Opgave 1\))]. As a result the content parser get in an infinite loop as the parenthesis count will never zero out. This issue was lelated to a bug in ICEpdf developer release where the annotation content was not correctly encoded. Work will need to be done to try and see if the content parser can be reworked to handle the unescaped charcter.

        Show
        Patrick Corless added a comment - The file in question has streams that are not property encoded for example " [(Opgave 1))] " should have been encoding, [(Opgave 1\))] . As a result the content parser get in an infinite loop as the parenthesis count will never zero out. This issue was lelated to a bug in ICEpdf developer release where the annotation content was not correctly encoded. Work will need to be done to try and see if the content parser can be reworked to handle the unescaped charcter.
        Patrick Corless made changes -
        Affects Version/s 5.2 [ 10970 ]
        Affects Version/s 5.0.6 [ 11381 ]
        Patrick Corless made changes -
        Fix Version/s 5.2 [ 10970 ]
        Fix Version/s 5.1 [ 10675 ]
        Hide
        Patrick Corless added a comment -

        This error was introduced by a specific icepdf version and has now been corrected. Only work around is to delete the annotation.

        Show
        Patrick Corless added a comment - This error was introduced by a specific icepdf version and has now been corrected. Only work around is to delete the annotation.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: