On 7/4/07, David Chisnall <[EMAIL PROTECTED]> wrote:
> Are we using compiled, or packaged GNUstep for the LiveCD?  If we are
> using a compiled version, please could you patch the source for
> NSOutlineView and patch, NSOutlineView.m replacing the itemAtRow:
> method with this:
>
> - (id)itemAtRow: (int)row
> {
>    if (row >= [_items count])
>    {
>      return [NSNull null];
>    }
>    return [_items objectAtIndex: row];
> }
>
> There is an irritating bug in GNUstep's NSOutlineView that causes the
> _numberOfRows ivar inherited from NSTableView to get larger than
> [_items count] when the number of items grows too large.  The next
> time a redraw occurs, this causes an array out of bounds exception as
> it tries to grab data from past the end of the array.
>
> I don't want to push this upstream to GNUstep, because it's not a
> good fix.  It treats the symptoms of the bug, but the real solution
> is to track down where _numberOfRows is not changed and should be.
> This will stop some crashing on the LiveCD though, so it's probably
> worth doing.

  Do you have a quick way to reproduce the bug ?
  A small program or a description how to write one to reproduce the bug.
  If so, I can take a look and see what I can do.

  Yen-Ju

>
> David
>
> _______________________________________________
> Etoile-dev mailing list
> [email protected]
> https://mail.gna.org/listinfo/etoile-dev
>

_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev

Reply via email to