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


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

From: juntaka <juntaka <at> protonmail.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: Fix epa-file-insert-file-contents substring error
Date: Mon, 12 Apr 2021 04:20:13 +0000
[Message part 1 (text/plain, inline)]
Hi

I think substring occurs error when TO is longer than its content.
This patch will fix the substring bug in epa-file-insert-file-contents.

The last commit this line was 2008, so no one seems not using it, though ;)

Thanks,
[0001-Fix-args-out-of-range-error-in-epa-file-insert-file-.patch (text/x-patch, attachment)]

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.