[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bugs #12299] NSMatrix segfaults on row/column removal
From: |
Stefan Urbanek |
Subject: |
[bugs #12299] NSMatrix segfaults on row/column removal |
Date: |
Sun, 13 Mar 2005 17:01:19 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040804 |
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=12299>
Summary: NSMatrix segfaults on row/column removal
Project: GNUstep
Submitted by: stefanu
Submitted on: Sun 03/13/2005 at 17:01
Category: Gui/AppKit
Severity: 3 - Ordinary
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
_______________________________________________________
Details:
Following code and its variants (different ways of enumerating rows and
columns) caused NSMatrix to crash:
while([matrix numberOfRows] > 0)
{
[matrix removeRow:0];
}
In matrices with incomplete rows or columns it crashes too. By incomplete row
I mean, for example rows with following number of cells per row: (4, 4, 4,
1).
Attached is a patch that fixes it.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 03/13/2005 at 17:01 Name: NSMatrix.m.patch Size: 471B By:
stefanu
<http://savannah.gnu.org/bugs/download.php?item_id=12299&item_file_id=2300>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=12299>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bugs #12299] NSMatrix segfaults on row/column removal,
Stefan Urbanek <=