Gnus nnml should avoid crashing on some invalid headers
authorEli Zaretskii <eliz@gnu.org>
Mon, 19 Dec 2022 17:01:04 +0000 (19:01 +0200)
committerRob Browning <rlb@defaultvalue.org>
Sat, 25 Mar 2023 18:41:20 +0000 (13:41 -0500)
commitcf3c2037c3531b756fbb443b8ab2f6873f10930e
treec62079e0fec12b2f4987bc9ab7e21b4e901bbfc8
parent4e6971c25c27c9a3f34cc69b51db894105362d08
Gnus nnml should avoid crashing on some invalid headers

This upstream patch has been incorporated to fix the problem:

  Fix storing email into nnmail by Gnus

  * 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>.

Origin: upstream, commit: 23f7c9c2a92e4619b7c4d2286d4249f812cd695d
Bug-Debian: https://bugs.debian.org/1033397
Forwarded: not-needed
lisp/gnus/nnml.el