[ https://issues.apache.org/jira/browse/OFBIZ-6522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Becker updated OFBIZ-6522: --------------------------------- Attachment: OFBIZ-6522.patch Added patch with fixed potential IndexOutOfBoundsException in CategoryServices.getProductCategoryAndLimitedMembers. BTW also ensured that the EntityListIterator gets closed if an error occurs and corrected some minor code laxness. > 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 > 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)