From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Problem report #133: base/src/emacs/src/font.c (font_range); FORWARD_NULL Date: Wed, 03 Dec 2008 16:08:38 +0900 Message-ID: References: <200812030131.mB31V9EQ022834@mothra.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1228288140 14074 80.91.229.12 (3 Dec 2008 07:09:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2008 07:09:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 03 08:10:03 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L7ls0-0002kX-2I for ged-emacs-devel@m.gmane.org; Wed, 03 Dec 2008 08:10:00 +0100 Original-Received: from localhost ([127.0.0.1]:58007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7lqp-0007Ki-OD for ged-emacs-devel@m.gmane.org; Wed, 03 Dec 2008 02:08:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7lql-0007K4-9Z for emacs-devel@gnu.org; Wed, 03 Dec 2008 02:08:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7lqj-0007JY-Ha for emacs-devel@gnu.org; Wed, 03 Dec 2008 02:08:42 -0500 Original-Received: from [199.232.76.173] (port=44953 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7lqj-0007JV-EU for emacs-devel@gnu.org; Wed, 03 Dec 2008 02:08:41 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:48172) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L7lqi-0003Ta-Pa for emacs-devel@gnu.org; Wed, 03 Dec 2008 02:08:41 -0500 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id mB378cWq021650; Wed, 3 Dec 2008 16:08:38 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id mB378coE000776; Wed, 3 Dec 2008 16:08:38 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id mB378cJS014157; Wed, 3 Dec 2008 16:08:38 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1L7lqg-0000ns-5Q; Wed, 03 Dec 2008 16:08:38 +0900 In-reply-to: <200812030131.mB31V9EQ022834@mothra.ics.uci.edu> (message from Dan Nicolaescu on Tue, 2 Dec 2008 17:31:09 -0800 (PST)) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106509 Archived-At: In article <200812030131.mB31V9EQ022834@mothra.ics.uci.edu>, Dan Nicolaescu writes: > CID: 133 > Checker: FORWARD_NULL (help) > File: base/src/emacs/src/font.c > Function: font_range > Description: Variable "face" tracked as NULL was passed to a function > that dereferences it. That should never happen. > 3689 face = FACE_FROM_ID (XFRAME (w->frame), face_id); Perhaps that FACE_FROM_ID is the culprit. Here it is assured that it never return NULL. --- Kenichi Handa handa@ni.aist.go.jp