[exim-cvs] rf_get_transport

Inizio della pagina
Delete this message
Reply to this message
Autore: Exim Git Commits Mailing List
Data:  
To: exim-cvs
Oggetto: [exim-cvs] rf_get_transport
Gitweb: https://git.exim.org/exim.git/commitdiff/ee4924bc711f54a751448fb5cee5ec4fc9c96196
Commit:     ee4924bc711f54a751448fb5cee5ec4fc9c96196
Parent:     ec7e44dc9134307d74afa4b07f09afbdd019282c
Author:     Heiko Schlittermann (HS12-RIPE) <hs@???>
AuthorDate: Fri Apr 2 08:36:24 2021 +0200
Committer:  Heiko Schlittermann (HS12-RIPE) <hs@???>
CommitDate: Thu Jun 24 21:43:13 2021 +0200


    rf_get_transport


    (cherry picked from commit 015fff57c854184f8bce61476c46a2830a97daf8)
---
 src/src/routers/rf_get_transport.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)


diff --git a/src/src/routers/rf_get_transport.c b/src/src/routers/rf_get_transport.c
index 4a43818..32bde9e 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";