NetBSD Problem Report #22119

Received: (qmail 23485 invoked by uid 605); 11 Jul 2003 08:06:05 -0000
Message-Id: <200307110902.h6B92a400725@kenny.nthcliff.demon.co.uk>
Date: Fri, 11 Jul 2003 10:02:36 +0100 (BST)
From: nick@nthcliff.demon.co.uk
Sender: gnats-bugs-owner@netbsd.org
Reply-To: nick@nthcliff.demon.co.uk
To: gnats-bugs@gnats.netbsd.org
Subject: lint segv on malformed function pointer cast
X-Send-Pr-Version: 3.95

>Number:         22119
>Category:       toolchain
>Synopsis:       lint segv on malformed function pointer cast
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 11 08:07:00 +0000 2003
>Closed-Date:    
>Last-Modified:  Fri Jan 28 05:29:16 +0000 2005
>Originator:     Nick Hudson
>Release:        NetBSD 1.6.1_STABLE
>Organization:
>Environment:
System: NetBSD kenny 1.6.1_STABLE NetBSD 1.6.1_STABLE (KENNY) #0: Fri May 30 10:12:33 BST 2003 nick@kenny:/home/nick/work/netbsd/netbsd-1-6/src/sys/arch/i386/compile/KENNY i386
Architecture: i386
Machine: i386

Also exists in -current where I originally came across the problem;
>Description:
	As synopsis
>How-To-Repeat:
	Run lint on the following

	void
	func1(void)
	{
		void (*f1)(void);

		/*
	 	* f1 = (void (*)(void))p; is OK
	 	*/
		f1 = (void *()(void))p;
	}
>Fix:
	No idea.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: bin-bug-people->toolchain-manager
Responsible-Changed-By: jmc@netbsd.org
Responsible-Changed-When: Fri, 28 Jan 2005 05:29:16 +0000
Responsible-Changed-Why:
toolchain issue


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.