[gatein-issues] [JBoss JIRA] Assigned: (GTNPORTAL-961) No limits on the MapResourceBundle recursive lookup

Minh Hoang TO (JIRA) jira-events at lists.jboss.org
Tue Aug 24 13:29:12 EDT 2010


     [ https://jira.jboss.org/browse/GTNPORTAL-961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Minh Hoang TO reassigned GTNPORTAL-961:
---------------------------------------

    Assignee: Minh Hoang TO


> No limits on the MapResourceBundle recursive lookup
> ---------------------------------------------------
>
>                 Key: GTNPORTAL-961
>                 URL: https://jira.jboss.org/browse/GTNPORTAL-961
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Matt Wringe
>            Assignee: Minh Hoang TO
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> The map resource bundle doesn't have any limits on the amount of recursion it will try and do when resolving a message.
> For example, if we have a properties file with:
> word.cancel=#{word.cancel}
> Then we will end up in an infinite loop (eventual stackoverflow exception) when trying to resolve #{word.cancel}.
> When it tries to resolve word.cancel, it will get back #{word.cancel} which it will try and resolve again, ...
> We are going to need to have a check on the level of recursion allowed when resolving messages from the resource bundle.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list