To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51442
Issue #:|51442
Summary:|OReadToolBoxDocumentHandler ctor: Off by one error in
|loop
Component:|framework
Version:|680m112
Platform:|All
URL:|
OS/Version:|All
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|code
Assigned to:|cd
Reported by:|tra
------- Additional comments from [EMAIL PROTECTED] Thu Jun 30 23:40:28 -0700
2005 -------
There is an off by one error in the in the constructor of
OReadToolBoxDocumentHandler
OReadToolBoxDocumentHandler::OReadToolBoxDocumentHandler( const Reference<
XIndexContainer >& rItemContainer ) ...
{
...
// create hash map
for ( int i = 0; i <= (int)TB_XML_ENTRY_COUNT; i++ )
{
...
}
This loop accesses an entry outside the range of the array.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]