From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#1190: patch - fix crash in ftfont rendering Date: Fri, 17 Oct 2008 10:39:13 +0900 Message-ID: References: Reply-To: Kenichi Handa , 1190@emacsbugs.donarmstrong.com 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 1224208238 2620 80.91.229.12 (17 Oct 2008 01:50:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Oct 2008 01:50:38 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: klchxbec@freenet.de Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 17 03:51:38 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KqeV5-0005oq-U6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Oct 2008 03:51:36 +0200 Original-Received: from localhost ([127.0.0.1]:35747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqeU0-000522-D8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Oct 2008 21:50:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KqeTf-0004nh-F7 for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2008 21:50:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KqeTd-0004m3-9Z for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2008 21:50:06 -0400 Original-Received: from [199.232.76.173] (port=47477 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqeTd-0004lr-01 for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2008 21:50:05 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59335) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KqeTc-0003PW-At for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2008 21:50:05 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9H1nxj3029475; Thu, 16 Oct 2008 18:50:00 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9H1j3cx028360; Thu, 16 Oct 2008 18:45:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 17 Oct 2008 01:45:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1190 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122420758027123 (code B ref -1); Fri, 17 Oct 2008 01:45:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 17 Oct 2008 01:39:40 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9H1dZDS027117 for ; Thu, 16 Oct 2008 18:39:37 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KqeJS-0001xk-Ro for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2008 21:39:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KqeJR-0001xY-Th for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2008 21:39:34 -0400 Original-Received: from [199.232.76.173] (port=49184 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqeJR-0001xV-OC for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2008 21:39:33 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:41774) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KqeJR-0002B6-1j for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2008 21:39:33 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id m9H1dFNF024159; Fri, 17 Oct 2008 10:39:15 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id m9H1dFYH016951; Fri, 17 Oct 2008 10:39:15 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id m9H1dDWL016730; Fri, 17 Oct 2008 10:39:13 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1KqeJ7-0002ZG-SF; Fri, 17 Oct 2008 10:39:13 +0900 In-reply-to: (klchxbec@freenet.de) 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-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 16 Oct 2008 21:50:06 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21576 Archived-At: I'm very sorry for the late response. In article , klchxbec@freenet.de writes: > This is a fix for a crash in otf font rendering. Emacs crashed for me when gsub_gpos->FeatureList.FeatureCount > was zero and otf_langsys->FeatureCount was 2377. [...] > - for (features = Qnil, k = otf_langsys->FeatureCount - 1; k >= 0; k--) > + for (features = Qnil, k = gsub_gpos->FeatureList.FeatureCount - 1; k >= 0; k--) As this part is collecting features for a specific language, the above change is not good. I'll fix the code so that invalid otf_langsys->FeatureCount doesn't lead to crash. Could you tell me which font causes this problem? --- Kenichi Handa handa@ni.aist.go.jp