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 #17 Date: Mon, 10 Apr 2006 11:50:09 -0700 Message-ID: <200604101850.k3AIo9lj005323@scanner2.ics.uci.edu> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1144695229 21872 80.91.229.2 (10 Apr 2006 18:53:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Apr 2006 18:53:49 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 10 20:53:47 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FT1Vc-0007vR-Ew for ged-emacs-devel@m.gmane.org; Mon, 10 Apr 2006 20:53:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FT1Vc-0004Tr-3E for ged-emacs-devel@m.gmane.org; Mon, 10 Apr 2006 14:53:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FT1VP-0004Sv-8e for emacs-devel@gnu.org; Mon, 10 Apr 2006 14:52:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FT1VO-0004SX-N0 for emacs-devel@gnu.org; Mon, 10 Apr 2006 14:52:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FT1VO-0004ST-Eh for emacs-devel@gnu.org; Mon, 10 Apr 2006 14:52:54 -0400 Original-Received: from [128.195.1.36] (helo=scanner2.ics.uci.edu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FT1a5-0005g6-HO for emacs-devel@gnu.org; Mon, 10 Apr 2006 14:57:45 -0400 Original-Received: from vino.ics.uci.edu (vino.ics.uci.edu [128.195.11.198]) by scanner2.ics.uci.edu (8.13.6/8.13.5) with ESMTP id k3AIo9lj005323 for ; Mon, 10 Apr 2006 11:50:09 -0700 (PDT) Original-To: emacs-devel@gnu.org Original-Lines: 48 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-1.363, required 5, autolearn=disabled, ALL_TRUSTED -1.44, TW_XL 0.08) X-ICS-MailScanner-From: dann@vino.ics.uci.edu 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:52604 Archived-At: CID: 17 Checker: FORWARD_NULL (help) File: emacs/src/xfaces.c Function: best_matching_font Description: Variable "best" tracked as NULL was dereferenced. Event var_compare_op: Added "best" due to comparison "best != 0" Also see events: [var_deref_op] At conditional (1): "best != 0" taking false path 6666 if (best && best->numeric[XLFD_POINT_SIZE] == pt) 6667 non_scalable_has_exact_height_p = 1; 6668 else 6669 non_scalable_has_exact_height_p = 0; 6670 At conditional (2): "i < nfonts" taking true path At conditional (4): "i < nfonts" taking false path 6671 for (i = 0; i < nfonts; ++i) At conditional (3): "font_scalable_p != 0" taking false path 6672 if (font_scalable_p (fonts + i)) 6673 { 6674 if (best == NULL 6675 || better_font_p (specified, fonts + i, best, 0, 0) 6676 || (!non_scalable_has_exact_height_p 6677 && !better_font_p (specified, best, fonts + i, 0, 0))) 6678 { 6679 non_scalable_has_exact_height_p = 1; 6680 best = fonts + i; 6681 } 6682 } 6683 At conditional (5): "needs_overstrike != 0" taking true path 6684 if (needs_overstrike) 6685 { 6686 enum xlfd_weight want_weight = specified[XLFD_WEIGHT]; Event var_deref_op: Variable "best" tracked as NULL was dereferenced. Also see events: [var_compare_op] 6687 enum xlfd_weight got_weight = best->numeric[XLFD_WEIGHT]; 6688 6689 if (want_weight > XLFD_WEIGHT_MEDIUM && want_weight > got_weight)