Re: [exim] Another strange log about tainting

Top Page
Delete this message
Reply to this message
Author: Ian Zimmerman
Date:  
To: exim-users
Subject: Re: [exim] Another strange log about tainting
On 2019-12-11 09:55, Jeremy Harris wrote:

> So: what sort of memory were you expanding, and what string was in it
> (just "${exim_version}" ? That plus something else (what)? )?


It was just like this:

const uschar* exim_version = expand_string(US "${exim_version}");
if (Ustrcmp(exim_version, EXIM_VERSION_STR)) {

[...]

It was meant as a crude protection against using a module with a
different exim than the one it was compiled for.

--
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.