ziesemer
  1. ziesemer
  2. ZIESEMER-2

Infinite loop in XmlEncoding.determineFromDeclaration(...)

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2009.05.20
    • Fix Version/s: not determined
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1

      Description

      while loop in XmlEncoding.determineFromDeclaration(...) mistakenly checks for >=
      0 in read from InputStream. An infinite loop will result if there are still
      bytes left available to read in the InputStream and the read buffer is full.
      Check should be > 0, not >= 0.

      Fixed in 2009.06.11.

        Activity

        Mark A. Ziesemer created issue -
        Hide
        Mark A. Ziesemer added a comment -

        Fixed in 2009.06.11.

        Show
        Mark A. Ziesemer added a comment - Fixed in 2009.06.11.
        kenaiadmin made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 1 99003

          People

          • Assignee:
            Mark A. Ziesemer
            Reporter:
            Mark A. Ziesemer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: