GNU bug report logs - #44850
27.1; Emacs crash in font handling with font-backend ns

Previous Next

Package: emacs;

Reported by: Pieter van Oostrum <pieter <at> vanoostrum.org>

Date: Tue, 24 Nov 2020 18:11:02 UTC

Severity: normal

Found in versions 27.1, 28.0.50

Full log


Message #48 received at control <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 44349 <at> debbugs.gnu.org, p.stephani2 <at> gmail.com
Subject: Re: bug#44349: 28.0.50; Assertion failure on macOS when resizing frame
Date: Sun, 29 Nov 2020 17:43:25 +0000
unmerge 44850
close 44349 28.1
quit

On Sun, Nov 29, 2020 at 07:23:53PM +0200, Eli Zaretskii wrote:
> > Date: Sun, 29 Nov 2020 17:16:23 +0000
> > From: Alan Third <alan <at> idiocy.org>
> > Cc: 44349 <at> debbugs.gnu.org, p.stephani2 <at> gmail.com
> > 
> > > Ah, okay.  In that case, I think ignoring the invalid sequence is OK,
> > > but let's document that in the function's commentary.
> > 
> > I think, having thought about it more, I'd prefer to just pass through
> > the malformed input. If we want to make sure that putting format_end
> > in the middle of a multibyte character doesn't break anything I think
> > we'd be better fixing doprnt_non_null_end to cut the string up neatly.
> 
> Anything that avoids a crash is fine in this case, thanks.
> 
> > format_end isn't currently used anywhere in Emacs, so I don't know if
> > it's worth fixing, but I'll add a FIXME comment.
> 
> TIA.

Done and pushed. Thanks.
-- 
Alan Third




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

Previous Next


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