To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=79227
                 Issue #|79227
                 Summary|edge case out of ranges.
               Component|gsl
                 Version|OOo 2.2.1
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|pl
             Reported by|cmc





------- Additional comments from [EMAIL PROTECTED] Wed Jul  4 14:35:55 +0000 
2007 -------
i.e. 

a) in vcl/source/gdi/bitmap4.cxx in Bitmap::ImplConvolute3 if we have a
BitmapWriteAccess with an unlikely height of 0 we then have nHeight2 of 2, with
pRows of 2 element, but then go on to reference pRow[2]. Patch attached

b) in source/control/tabctrl.cxx in TabControl::ImplGetTabRect we have 
nLines == 99; break;
so, assuming that we are now 99 we will then do
nLinePosAry[nLines+1] = (USHORT)mpItemList->Count();
referencing element 100, but we declared nLinePosAry as just 100. 
This method confuses me here somewhat, but patch attached to bump size to 101,
to avoid that immediate problem.

---------------------------------------------------------------------
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]

Reply via email to