From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1065: marked as done (patch - fix crash in ftfont rendering) Date: Fri, 24 Oct 2008 17:10:04 -0700 Message-ID: References: <87ljwdlevo.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1224893404-3550-0" X-Trace: ger.gmane.org 1224894647 17003 80.91.229.12 (25 Oct 2008 00:30:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Oct 2008 00:30:47 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 25 02:31:48 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 1KtX4C-0007xc-1G for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Oct 2008 02:31:44 +0200 Original-Received: from localhost ([127.0.0.1]:57674 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtX36-0003Ib-3W for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Oct 2008 20:30:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtX2l-00036p-Df for bug-gnu-emacs@gnu.org; Fri, 24 Oct 2008 20:30:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtX2j-00036d-RN for bug-gnu-emacs@gnu.org; Fri, 24 Oct 2008 20:30:14 -0400 Original-Received: from [199.232.76.173] (port=32885 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtX2j-00036a-O5 for bug-gnu-emacs@gnu.org; Fri, 24 Oct 2008 20:30:13 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36461) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KtX2j-0004S0-3V for bug-gnu-emacs@gnu.org; Fri, 24 Oct 2008 20:30:13 -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 m9P0U2jO008288; Fri, 24 Oct 2008 17:30:02 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9P0A4JU003652; Fri, 24 Oct 2008 17:10:04 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 1065 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:21883 Archived-At: This is a multi-part message in MIME format... ------------=_1224893404-3550-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Fri, 24 Oct 2008 20:03:55 -0400 with message-id <87ljwdlevo.fsf@cyd.mit.edu> and subject line Re: patch - fix crash in ftfont rendering has caused the Emacs bug report #1065, regarding patch - fix crash in ftfont rendering to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 1065: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1065 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1224893404-3550-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.0 required=4.0 tests=BAYES_00,MURPHY_DRUGS_REL8, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 2 Oct 2008 14:28:55 +0000 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 m92ESpRg003319 for ; Thu, 2 Oct 2008 07:28:53 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlPAh-0005fk-2d for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 10:28:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlPAf-0005ey-2O for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 10:28:50 -0400 Received: from [199.232.76.173] (port=60157 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlPAe-0005et-To for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 10:28:48 -0400 Received: from mout4.freenet.de ([195.4.92.94]:33619) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KlPAe-0003DH-Kd for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 10:28:48 -0400 Received: from [195.4.92.13] (helo=3.mx.freenet.de) by mout4.freenet.de with esmtpa (ID exim) (port 25) (Exim 4.69 #65) id 1KlPAX-0004qC-V0; Thu, 02 Oct 2008 16:28:41 +0200 Received: from www9.emo.freenet-rz.de ([194.97.107.202]:51290) by 3.mx.freenet.de with esmtp (port 25) (Exim 4.69 #65) id 1KlPAX-0003bt-Ts; Thu, 02 Oct 2008 16:28:41 +0200 Received: from www-data by www9.emo.freenet-rz.de with local (Exim 4.67 1 (Panther_1)) id 1KlP9J-0006lR-Cr; Thu, 02 Oct 2008 16:27:25 +0200 To: bug-gnu-emacs@gnu.org From: klchxbec@freenet.de Subject: patch - fix crash in ftfont rendering Cc: handa@m17n.org X-Priority: 3 X-Abuse: 712473950 / 116.75.37.25 User-Agent: freenetMail MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: Date: Thu, 02 Oct 2008 16:27:25 +0200 X-purgate-ID: 149285::081002162725-65967080-45FE3CE5 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Hello, 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. Index: ftfont.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /sources/emacs/emacs/src/ftfont.c,v retrieving revision 1.31 diff -u -r1.31 ftfont.c --- ftfont.c=0917 Sep 2008 11:48:00 -0000=091.31 +++ ftfont.c=092 Oct 2008 14:25:59 -0000 @@ -1357,7 +1357,7 @@ =09 else =09 break; =20 -=09 for (features =3D Qnil, k =3D otf_langsys->FeatureCount - 1; k >=3D 0= ; k--) +=09 for (features =3D Qnil, k =3D gsub_gpos->FeatureList.FeatureCount - 1= ; k >=3D 0; k--) =09 { =09 OTF_TAG_SYM (sym, gsub_gpos->FeatureList.Feature[k].FeatureTag); =09 features =3D Fcons (sym, features); =0A=0A=0A=0AUnbegrenzter Speicher, Top-Spamschutz, 120 SMS und eigene E-Mai= lDomain inkl.=0Ahttp://office.freenet.de/dienste/emailoffice/produktuebersi= cht/power/mail/index.html=0A ------------=_1224893404-3550-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1065-done) by emacsbugs.donarmstrong.com; 25 Oct 2008 00:03:54 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9P03qZL001520 for <1065-done@emacsbugs.donarmstrong.com>; Fri, 24 Oct 2008 17:03:53 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 7CC4C57E1A3; Fri, 24 Oct 2008 20:03:55 -0400 (EDT) From: Chong Yidong To: 1065-done@emacsbugs.donarmstrong.com Subject: Re: patch - fix crash in ftfont rendering Date: Fri, 24 Oct 2008 20:03:55 -0400 Message-ID: <87ljwdlevo.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I believe Handa's 2008-10-24 change fixed this. ------------=_1224893404-3550-0--