[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47616: 27.1; hardening mail-envelope-from
From: |
Lars Ingebrigtsen |
Subject: |
bug#47616: 27.1; hardening mail-envelope-from |
Date: |
Thu, 06 May 2021 12:22:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Francesco Potortì <pot@gnu.org> writes:
> Hardening mail-envelope-from from sendmail.el by narrowing to the
> headers, as the doc says, corrects the problem that I observed.
Thanks -- I don't think we should change mail-envelope-from itself here,
because it may conceivably be called from other contexts. Instead the
callers in sendmail/smtpmail should be altered to narrow to the headers
before calling it, and I've now done this in Emacs 28. (This uncovered
a similar bug in smtpmail.el, too.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#47616: 27.1; hardening mail-envelope-from,
Lars Ingebrigtsen <=