commit c0cbab9443d278a4078c41c7c6f19a7f21798dba from: Martijn van Duren date: Tue Jan 28 21:47:34 2025 UTC Things work better if you initialize them commit - 813c2b3033915096806ef209679465a48963a4b8 commit + c0cbab9443d278a4078c41c7c6f19a7f21798dba blob - b61f0fc3b925c722a173438383a24d4585711ff8 blob + ec80e1cdd7332b89f9926e4c8aa02da7638c0c6f --- opensmtpd.c +++ opensmtpd.c @@ -1199,6 +1199,7 @@ osmtpd_newline(struct io *io, int ev, __unused void *a if (ctx == NULL) { if ((ctx = malloc(sizeof(*ctx))) == NULL) osmtpd_err(1, NULL); + ctx->status = SESSION_OK; ctx->ctx.reqid = search.ctx.reqid; ctx->ctx.rdns = NULL; ctx->ctx.fcrdns = OSMTPD_STATUS_TEMPFAIL;