This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libobjc/51891] New: class_copyIvarList crashes on empty ivars


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]