Fix args-out-of-range error in epa-file-insert-file-contents
commit636e9fd6a0c6b7801fd5a0d58fd42c93aab7332d
authorJunya Takahashi <jutakat@gmail.com>
Mon, 12 Apr 2021 08:14:11 +0000 (12 10:14 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 12 Apr 2021 08:14:48 +0000 (12 10:14 +0200)
treeb4ebc0eb676cdb9c17a525f064a76b9b547a323b
parent104c5e3d57705cd4bd291b61d7f165def602ab5c
Fix args-out-of-range error in epa-file-insert-file-contents

* lisp/epa-file.el (epa-file-insert-file-contents): Don't bug out
on a region that's longer than the file (bug#47718).

Copyright-paperwork-exempt: yes
lisp/epa-file.el