java-topology/defects/sendmail-0001/patch/sendmail-0001.patch

18 lines
459 B
Diff

# UNDF: UNDF-2026-000001189
# UNDF: UNDF-2026-PENDING
--- a/sendmail/usersmtp.c
+++ b/sendmail/usersmtp.c
@@ -998,8 +998,10 @@ getauth(mci, e, sai)
goto fail;
got |= 1 << r;
}
else
goto fail;
if (tTd(95, 5))
- sm_syslog(LOG_DEBUG, NOQID, "getauth %s=%s",
- sasl_info_name[r], (*sai)[r]);
+ sm_syslog(LOG_DEBUG, NOQID, "getauth %s=%s",
+ sasl_info_name[r],
+ (r == SASL_PASSWORD) ? "<REDACTED>" : (*sai)[r]);
++i;
}