]> git.eshelyaron.com Git - emacs.git/commit
Fix storing email into nnmail by Gnus
authorEli Zaretskii <eliz@gnu.org>
Mon, 19 Dec 2022 17:01:04 +0000 (19:01 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 19 Dec 2022 17:49:59 +0000 (12:49 -0500)
commitae9bfed50dbf5043c0b47f20473ef43d8aeebebd
tree562cfe6219fd8d34890b6f3aef62abd7de3d5523
parent0636e1066bbafcd8219d9a8e09301c77f875d78b
Fix storing email into nnmail by Gnus

Backporting suggested by Florian Weimer, since this is
a denial-of-service issue.
* lisp/gnus/nnml.el (nnml--encode-headers): Wrap
'rfc2047-encode-string' calls with 'ignore-errors', to avoid
disrupting email workflows due to possibly-invalid headers.
Reported by Florian Weimer <fweimer@redhat.com>.

(cherry picked from commit 23f7c9c2a92e4619b7c4d2286d4249f812cd695d)
lisp/gnus/nnml.el