GNU bug report logs - #47718
Fix epa-file-insert-file-contents substring error

Previous Next

Package: emacs;

Reported by: juntaka <juntaka <at> protonmail.com>

Date: Mon, 12 Apr 2021 06:02:02 UTC

Severity: normal

Tags: fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.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: juntaka <at> protonmail.com, 47718 <at> debbugs.gnu.org
Subject: bug#47718: Fix epa-file-insert-file-contents substring error
Date: Tue, 13 Apr 2021 09:01:30 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> Actually, I wonder whether this is TRT: why should we silently accept
> invalid inputs when substring itself doesn't?

insert-file-contents does not signal an error in this case, so
epa-file-insert-file-contents shouldn't either.

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




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

Previous Next


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