This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libobjc/51891] New: class_copyIvarList crashes on empty ivars
- From: "tilo at pruetz dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 18 Jan 2012 09:53:03 +0000
- Subject: [Bug libobjc/51891] New: class_copyIvarList crashes on empty ivars
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51891
Bug #: 51891
Summary: class_copyIvarList crashes on empty ivars
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: libobjc
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: tilo@pruetz.net
Created attachment 26361
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26361
simple example
When calling class_copyIvarList(class, NULL) with a class that has no ivars the
app crashes with a segfault.
Please find an example attached.