Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-3734

Upgraded junrar parser throwing IllegalArgumentException on zero-byte streams

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.28.2, 2.4.0
    • None
    • None

    Description

      There's a new exception in junrar parsers.  When the junrar parser hits a stream that is zero bytes, it now throws an IllegalArgumentException.  That percolates through our stack and the rest of the file is not parsed.

      We should add a check to see from the header if the unpackaged size is > 0. The triggering file:

      DXXPDWQF6LURIMASV5I2PRQTTWXBTAW2

      Attachments

        Activity

          People

            Unassigned Unassigned
            tallison Tim Allison
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: