Bug 816807

Summary: Off-by-one error in FullFastIterator.next() leads to botched queries
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Mark Proctor <mproctor>
Component: BRE (Expert, Fusion)Assignee: Nobody <nobody>
Status: VERIFIED --- QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GA   
Target Milestone: ER7   
Target Release: BRMS 5.3.0.GA   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mark Proctor 2012-04-27 04:39:17 UTC
The rete node memory iterators will skip entries in the last bucket after it has found the first entry, due to a check against the current row.

This is a critical fix as it results in loss of integirty and corruption of running applications.

Comment 2 JBoss JIRA Server 2012-04-27 05:02:57 UTC
Mark Proctor <mproctor> updated the status of jira JBRULES-3483 to Resolved

Comment 3 JBoss JIRA Server 2012-04-27 05:03:08 UTC
Mark Proctor <mproctor> updated the status of jira JBRULES-3483 to Closed

Comment 4 JBoss JIRA Server 2012-04-27 05:05:48 UTC
Adar Dembo <adar> made a comment on jira JBRULES-3483

What about a backport for 5.3.x? That's the latest stable release, right?

Comment 5 Mark Proctor 2012-05-04 16:45:48 UTC
yes I've said this must be backported to 5.3. I'm awaiting permission to do so.

Comment 6 Edson Tirelli 2012-05-04 16:59:35 UTC
Cherry-picked into 5.3.x branch as requested by Mark.

https://github.com/droolsjbpm/drools/commit/20f2682afb65381ad2a32ec8431448e2bd974fd8

Comment 7 Ryan Zhang 2012-05-14 08:16:14 UTC
The fixed for this issue should be included in ER7. Please do verification on it.

Comment 9 Lukáš Petrovický 2012-05-22 08:39:14 UTC
The fix is in ER7 and the test doesn't fail. VERIFIED.