[LLVMbugs] [Bug 21932] New: Crash-on-invalid in Objective-C super property access with missing interface

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Dec 16 14:06:19 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=21932

            Bug ID: 21932
           Summary: Crash-on-invalid in Objective-C super property access
                    with missing interface
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jason.haslam at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13551
  --> http://llvm.org/bugs/attachment.cgi?id=13551&action=edit
proposed fix

The following crashes clang:

@implementation IFaceNotFound (Foo)
-(int) foo {
  return super.foo;
}
@end

The attached patch fixes the crash and adds a new test case. I would have sent
directly to cfe-commits but it looks like the mailing list is down.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141216/cc172235/attachment.html>


More information about the llvm-bugs mailing list