emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 6ed1994d27: Prevent crashes from illegal locale coding system


From: Eli Zaretskii
Subject: Re: master 6ed1994d27: Prevent crashes from illegal locale coding systems
Date: Wed, 16 Feb 2022 14:38:18 +0200

> From: Po Lu <luangruo@yahoo.com>
> Cc: emacs-devel@gnu.org
> Date: Wed, 16 Feb 2022 20:33:08 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Only if this is a recent problem.  Otherwise, I'd prefer not to
> > introduce such non-trivial code into the release branch so late into
> > the pretest.
> 
> It's a problem that cropped up in GLib after 27.1 was released, but I
> don't know if that counts as recent enough.

Emacs 27.1 was release 1.5 years ago.  If these problems are real, we
should have heard about them by now.

> Perhaps we could install the simpler fix that avoids passing an invalid
> coding system to setup_coding_system on the release branch, which should
> cover botched values of `locale-coding-system'.

That's too general a fix in a place that's too low-level to know what
is TRT in these cases.  It would prevent us from signaling an error
when a Lisp program uses an invalid encoding, for example -- these
problems cannot be silently ignored.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]