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: unassig...@gcc.gnu.org ReportedBy: t...@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.