Uploaded image for project: 'Apache Any23 (Retired)'
  1. Apache Any23 (Retired)
  2. ANY23-58

HCardExtractor infinite loop and memory exhaustion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.7.0
    • core
    • None
    • OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.2) on Ubuntu

    Description

      The HCardExtractor creates an infinite loop which will lead to memory exhaustion in the method fixIncludes(), specifically in the line node.appendChild(header.cloneNode(true)); on some HTML files. Attached is a test case and an example HTML file.

      Attachments

        1. HCardFailTest.java
          1.0 kB
          Hannes Mühleisen
        2. fail.html
          188 kB
          Hannes Mühleisen

        Activity

          People

            michele.mostarda Michele Mostarda
            hfmuehleisen Hannes Mühleisen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: