[jacorb-bugs] [Bug 1090] New: org.jacorb.orb.TaggedComponentList.removeComponents() generates ArrayIndexOutOfBounds
bugzilla-daemon at jacorb.org
bugzilla-daemon at jacorb.org
Wed Oct 19 23:36:30 CEST 2016
http://www.jacorb.org/bugzilla/show_bug.cgi?id=1090
Bug ID: 1090
Summary: org.jacorb.orb.TaggedComponentList.removeComponents()
generates ArrayIndexOutOfBounds
Product: JacORB
Version: 3.6
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: ORB
Assignee: jacorb-bugs at lists.spline.inf.fu-berlin.de
Reporter: rhash at tibco.com
In core/src/main/java/org/jacorb/orb/TaggedComponentList.removeComponents(),
there is bug that causes an ArrayIndexOutOfBounds to be thrown.
The TaggedComponent[] newComponents is sized smaller than 'components' if there
are any tags to be removed, however the for loop at the end is indexing into
both 'newComponents' and 'components' with the same index and it goes boom when
it walks off the end of 'newComponents'.
Reported against JacORB-3.6, but the code in 3.7 looks identical.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spline.inf.fu-berlin.de/pipermail/jacorb-bugs/attachments/20161019/1084592d/attachment.html>
More information about the jacorb-bugs
mailing list