You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Michael Brohl (JIRA)" <ji...@apache.org> on 2016/06/18 22:20:05 UTC

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

     [ https://issues.apache.org/jira/browse/OFBIZ-6522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Brohl updated OFBIZ-6522:
---------------------------------
    Fix Version/s:     (was: Upcoming Branch)
                   15.12.01

> 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
>            Assignee: Michael Brohl
>            Priority: Minor
>             Fix For: 15.12.01
>
>         Attachments: OFBIZ-6522.patch
>
>
> 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)