You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Martin Becker (JIRA)" <ji...@apache.org> on 2015/06/20 19:08:00 UTC

[jira] [Created] (OFBIZ-6522) Potential IndexOutOfBoundsException in CategoryServices.getProductCategoryAndLimitedMembers

Martin Becker created OFBIZ-6522:
------------------------------------

             Summary: Potential IndexOutOfBoundsException in CategoryServices.getProductCategoryAndLimitedMembers
                 Key: OFBIZ-6522
                 URL: https://issues.apache.org/jira/browse/OFBIZ-6522
             Project: OFBiz
          Issue Type: Bug
          Components: product
    Affects Versions: Upcoming Branch
            Reporter: Martin Becker
            Priority: Minor


If view indexes as input parameters of service getProductCategoryAndLimitedMembers get manipulated (e.g. by manipulating URL params or bookmarking an URL with those params an come back later), it can lead to an IndexOutOfBoundsException because of a lowIndex greater list size. The highIndex is checked for that, the lowIndex is not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)