GNU bug report logs - #1190
patch - fix crash in ftfont rendering

Previous Next

Package: emacs;

Reported by: Kenichi Handa <handa <at> m17n.org>

Date: Fri, 17 Oct 2008 01:45:03 UTC

Severity: normal

Merged with 1065

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1190 in the body.
You can then email your comments to 1190 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1190; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Kenichi Handa <handa <at> m17n.org>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Kenichi Handa <handa <at> m17n.org>
To: klchxbec <at> freenet.de
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: patch - fix crash in ftfont rendering
Date: Fri, 17 Oct 2008 10:39:13 +0900
I'm very sorry for the late response.

In article <E1KlP9J-0006lR-Cr <at> www9.emo.freenet-rz.de>, klchxbec <at> 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 <at> ni.aist.go.jp





Merged 1065 1190. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Fri, 17 Oct 2008 02:05:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Sat, 22 Nov 2008 15:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 273 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.