Inflater.inflate runs indefinitelly

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 6u19
    • Component/s: core-libs

      FULL PRODUCT VERSION :
      java version "1.6.0_19"
      Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
      Java HotSpot(TM) 64-Bit Server VM (build 16.2-b04, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7600]
      Linux server1 2.6.26-1-amd64 #1 SMP Sat Jan 10 17:57:00 UTC 2009 x86_64 GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      When given specific array of bytes as input, Inflater.inflage(byte[]) function runs indefinitely.

      Array of bytes should be previously compressed array, but it might be corrupted.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Just start given code

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
        Program should terminate.
      ACTUAL -
        Program runs forever

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      Attached seperatly
      ---------- END SOURCE ----------

            Assignee:
            Robert Mckenna
            Reporter:
            Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: