incubator-any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hannes Mühleisen (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (ANY23-58) HCardExtractor infinite loop and memory exhaustion
Date Fri, 23 Mar 2012 09:15:25 GMT

    [ https://issues.apache.org/jira/browse/ANY23-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236471#comment-13236471
] 

Hannes Mühleisen commented on ANY23-58:
---------------------------------------

Hi Lewis, sorry, but I have no fix ready. For our use case, i removed the call to fixIncludes(),
but this might not be the right thing to do in general. Its fine with me if this is pushed
to a later release.
                
> 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

       

Mime
View raw message