Details

    Description

      java.io.EOFException: Can't read 20 bytes
          org.apache.pdfbox.filter.CCITTFaxFilter.decode(CCITTFaxFilter.java:77)
          org.apache.pdfbox.pdmodel.graphics.image.PDInlineImage.<init>(PDInlineImage.java:90)
          org.apache.pdfbox.contentstream.operator.graphics.BeginInlineImage.process(BeginInlineImage.java:44)
      

      This is a valid tiny inline image (a hyphen in a type 3 font charproc stream) that is 19 bytes long in a file that I can't share. We only need to adjust the pushback.

      Attachments

        Issue Links

          Activity

            Commit 1896920 from Tilman Hausherr in branch 'pdfbox/trunk'
            [ https://svn.apache.org/r1896920 ]

            PDFBOX-5360: allow streams smaller than 20 bytes

            jira-bot ASF subversion and git services added a comment - Commit 1896920 from Tilman Hausherr in branch 'pdfbox/trunk' [ https://svn.apache.org/r1896920 ] PDFBOX-5360 : allow streams smaller than 20 bytes

            Commit 1896921 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
            [ https://svn.apache.org/r1896921 ]

            PDFBOX-5360: allow streams smaller than 20 bytes

            jira-bot ASF subversion and git services added a comment - Commit 1896921 from Tilman Hausherr in branch 'pdfbox/branches/2.0' [ https://svn.apache.org/r1896921 ] PDFBOX-5360 : allow streams smaller than 20 bytes

            Commit 1897513 from Tilman Hausherr in branch 'pdfbox/trunk'
            [ https://svn.apache.org/r1897513 ]

            PDFBOX-5360: add test

            jira-bot ASF subversion and git services added a comment - Commit 1897513 from Tilman Hausherr in branch 'pdfbox/trunk' [ https://svn.apache.org/r1897513 ] PDFBOX-5360 : add test

            Commit 1897514 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
            [ https://svn.apache.org/r1897514 ]

            PDFBOX-5360: add test

            jira-bot ASF subversion and git services added a comment - Commit 1897514 from Tilman Hausherr in branch 'pdfbox/branches/2.0' [ https://svn.apache.org/r1897514 ] PDFBOX-5360 : add test

            People

              tilman Tilman Hausherr
              tilman Tilman Hausherr
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: