[exim] Re: ${run leaves $value empty

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-users
Temat: [exim] Re: ${run leaves $value empty
On 23/08/2023 16:00, Andreas Metzler via Exim-users wrote:
> On 2023-08-23 Andreas Metzler <eximusers@???> wrote:
>> On 2023-08-22 Bill Brelsford via Exim-users <exim-users@???> wrote:
>>> Under Exim 4.96-19 in Debian unstable/testing, ${run fails to put
>>> standard output into $value. E.g., in a .forward file,
> [...]
>
>> This is recent breakage - Checking the uploaded versions this was broken
>> by either
>> cf3fecb9e873df38a9245775a3887e73a8716083 Fix free of $value after
>> ${run...}
>> or
>> 6707bfa9fb78858de938a1abca2846c820c5ded7 Fix $recipients expansion when
>> used within ${run...}. Bug 3013


Bother. I didn't spot that $value is documented to be useable as the
result after the call, not just in the result expansions.

I'll need to decide (and document) just how long. Probably "for the toplevel
ACL", if that is decently codable. We can't just revert that commit because it
would leave a potential use-after-free (it was visible under debug, in
investigating 3013).
--
Cheers,
Jeremy


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/