From: Heiko Schlittermann (HS12-RIPE) Date: Fri, 2 Apr 2021 06:36:24 +0000 (+0200) Subject: rf_get_transport X-Git-Tag: exim-4.95-RC0~14^2~14 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=ee4924bc711f54a751448fb5cee5ec4fc9c96196;p=user%2Fhenk%2Fcode%2Fexim.git rf_get_transport (cherry picked from commit 015fff57c854184f8bce61476c46a2830a97daf8) --- diff --git a/src/src/routers/rf_get_transport.c b/src/src/routers/rf_get_transport.c index 4a43818ff..32bde9ec3 100644 --- a/src/src/routers/rf_get_transport.c +++ b/src/src/routers/rf_get_transport.c @@ -66,10 +66,8 @@ if (expandable) "\"%s\" in %s router: %s", tpname, router_name, expand_string_message); return FALSE; } - if (is_tainted(ss)) + if (is_tainted2(ss, LOG_MAIN|LOG_PANIC, "Tainted tainted value '%s' from '%s' for transport", ss, tpname)) { - log_write(0, LOG_MAIN|LOG_PANIC, - "attempt to use tainted value '%s' from '%s' for transport", ss, tpname); addr->basic_errno = ERRNO_BADTRANSPORT; /* Avoid leaking info to an attacker */ addr->message = US"internal configuration error";