Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6294374

java.util.zip.Inflater suffers from pre-zlib -1.2.2 decompression bug

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0
    • core-libs

      FULL PRODUCT VERSION :
      java version "1.5.0_01"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
      Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode, sharing)

      Also applies to all current 1.4 builds

      ADDITIONAL OS VERSION INFORMATION :
      The bug is OS-independant, as it depends on the zlib library which is the same on all 3 platforms.

      A DESCRIPTION OF THE PROBLEM :
      The zlib 1.1.3-version included with the J2SE platform contains the the following bug which is fixed in zlib 1.2.1.1:

      - Fix a big fat bug in inftrees.c that prevented decoding valid
        dynamic blocks with only literals and no distance codes --
        Thanks to "Hot Emu" for the bug report and sample file


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      See http://www.gzip.org/zlib/ChangeLog.txt for this well-documented problem in the zlib library

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Working decompression
      ACTUAL -
      Failing of decompression valid data

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      See http://www.gzip.org/zlib/ChangeLog.txt for this well-documented problem in the zlib library
      ---------- END SOURCE ----------
      ###@###.### 2005-07-06 10:47:15 GMT

            sherman Xueming Shen
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: