HCardExtractor infinite loop and memory exhaustion
--------------------------------------------------
Key: ANY23-58
URL: https://issues.apache.org/jira/browse/ANY23-58
Project: Apache Any23
Issue Type: Bug
Affects Versions: 0.7.0
Environment: OpenJDK Runtime Environment (IcedTea6 1.11pre)
(6b23~pre11-0ubuntu1.11.10.2) on Ubuntu
Reporter: Hannes Mühleisen
Attachments: HCardFailTest.java, fail.html
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira