ICEpdf
  1. ICEpdf
  2. PDF-703

Parser no correctly returning boolean values

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.4
    • Fix Version/s: 5.0.5
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any
    • Salesforce Case Reference:

      Description

      The file in question contain an inline images with the following values.

      "BI/W 2481/H 3508/D [0 1 0 1 0 1 0 1]/BPC 8/IM false/F[/Fl]/CS/CMYK ID"

      For some reason the content parser was hanging up on "false" after closer inspection it turns out the content parser has logic bug and is returning TOKEN_OPERAND even if TOKEN_BOOLEAN was detected,

        Activity

        Hide
        Patrick Corless added a comment -

        Applied fixes to trunk and branch.

        Show
        Patrick Corless added a comment - Applied fixes to trunk and branch.
        Hide
        Patrick Corless added a comment -

        Boolean values must be very rare occurrence in PDF documents as this bug has been around since 5.0.0.

        Show
        Patrick Corless added a comment - Boolean values must be very rare occurrence in PDF documents as this bug has been around since 5.0.0.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: