From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: problem report #101 Date: Mon, 1 Dec 2008 08:59:25 -0800 (PST) Message-ID: <200812011659.mB1GxPZD015344@mothra.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228150814 18628 80.91.229.12 (1 Dec 2008 17:00:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Dec 2008 17:00:14 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 01 18:01:19 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 1L7C8n-0005cr-34 for ged-emacs-devel@m.gmane.org; Mon, 01 Dec 2008 18:00:57 +0100 Original-Received: from localhost ([127.0.0.1]:52108 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7C7d-0001Gj-4j for ged-emacs-devel@m.gmane.org; Mon, 01 Dec 2008 11:59:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7C7Z-0001Ge-IE for emacs-devel@gnu.org; Mon, 01 Dec 2008 11:59:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7C7X-0001GR-64 for emacs-devel@gnu.org; Mon, 01 Dec 2008 11:59:40 -0500 Original-Received: from [199.232.76.173] (port=50253 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7C7X-0001GO-0U for emacs-devel@gnu.org; Mon, 01 Dec 2008 11:59:39 -0500 Original-Received: from sallyv2.ics.uci.edu ([128.195.1.120]:43941) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1L7C7W-0005P1-6Y for emacs-devel@gnu.org; Mon, 01 Dec 2008 11:59:38 -0500 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id mB1GxRdx024373 for ; Mon, 1 Dec 2008 08:59:27 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mB1GxPZD015344; Mon, 1 Dec 2008 08:59:25 -0800 (PST) Original-Lines: 44 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mB1GxRdx024373 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:106378 Archived-At: CID: 101 Checker: FORWARD_NULL (help) File: base/src/emacs/src/font.c Function: font_at Description: Variable "face" tracked as NULL was passed to a function that dereferences it. Event var_compare_op: Added "face" due to comparison "face == 0" Also see events: [var_deref_op][var_deref_model] At conditional (1): "face == 0" taking true path 3631 if (! face) 3632 { 3633 int face_id; 3634 EMACS_INT endptr; 3635 At conditional (2): "string & 7 == 3" taking true path 3636 if (STRINGP (string)) 3637 face_id = face_at_string_position (w, string, pos, 0, -1, -1, &endptr, 3638 DEFAULT_FACE_ID, 0); 3639 else 3640 face_id = face_at_buffer_position (w, pos, -1, -1, &endptr, 3641 pos + 100, 0); At conditional (3): "face_id < ((f)->face_cache)->used" taking false path 3642 face = FACE_FROM_ID (f, face_id); 3643 } At conditional (4): "multibyte != 0" taking true path 3644 if (multibyte) 3645 { Event var_deref_op: Variable "face" tracked as NULL was dereferenced. Event var_deref_model: Variable "face" tracked as NULL was passed to a function that dereferences it. [model] Also see events: [var_compare_op][var_deref_model] At conditional (5): "c < 128" taking true path 3646 int face_id = FACE_FOR_CHAR (f, face, c, pos, string); 3647 face = FACE_FROM_ID (f, face_id); 3648 }