Apache Any23
  1. Apache Any23
  2. ANY23-58

HCardExtractor infinite loop and memory exhaustion

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.7.0
    • Component/s: core
    • Labels:
      None
    • Environment:
      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.

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

        Activity

          People

          • Assignee:
            Michele Mostarda
            Reporter:
            Hannes Mühleisen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development