This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libobjc/11433] Crash due to dereferencing null pointer when querying protocol
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Dec 2003 01:59:43 -0000
- Subject: [Bug libobjc/11433] Crash due to dereferencing null pointer when querying protocol
- References: <20030704113807.11433.richard@brainstorm.co.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-12-02 01:59 -------
Subject: Bug 11433
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: zack@gcc.gnu.org 2003-12-02 01:59:37
Modified files:
gcc/testsuite : ChangeLog
libobjc : ChangeLog Protocol.m
Added files:
gcc/testsuite/objc.dg: proto-lossage-3.m
Log message:
PR 11433
gcc/testsuite:
* objc.dg/proto-lossage-3.m: New test.
libobjc:
* Protocol.m (descriptionForInstanceMethod): Don't dereference
instance_methods if it's NULL.
(descriptionForClassMethod): Likewise for class_methods.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.2261.2.319&r2=1.2261.2.320
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/objc.dg/proto-lossage-3.m.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libobjc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.87.4.10&r2=1.87.4.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libobjc/Protocol.m.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.3&r2=1.3.20.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11433