GNU bug report logs - #44113
28.0.50; crash with cairo and Noto Sans Javanese font

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Wed, 21 Oct 2020 10:13:02 UTC

Severity: normal

Found in version 28.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: rpluim <at> gmail.com, Stephen Berman <stephen.berman <at> gmx.net>, 44113 <at> debbugs.gnu.org
Subject: bug#44113: 28.0.50; crash with cairo and Noto Sans Javanese font
Date: Thu, 22 Oct 2020 14:38:12 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> Yes, let's install that patch (I guess on the emacs-27 branch?).

I installed it on master, but we should cherry-pick it for emacs-27 in a
couple of days (if there's no problems with it).

> However, there are more places in that function where we call APIs
> which could return NULL, and then dereference their return values
> without checking.  Could someone who can build with Cairo please
> install similar changes in those other places?

Robert said:

> All the other calls to cairo_ft_scaled_font_lock_face use the
> cr_scaled_font member of the font_info passed in, which I think means
> thatʼs only done for fonts which were opened successfully.

So I didn't check any further.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 193 days ago.

Previous Next


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