1e40ffb007
so make sure the new elements are initialized to sane values.
13 lines
517 B
Plaintext
13 lines
517 B
Plaintext
$OpenBSD: patch-bin_smtp-vilter_engine_c,v 1.3 2007/02/04 12:05:12 mbalmer Exp $
|
|
--- bin/smtp-vilter/engine.c.orig Sun Feb 4 13:05:31 2007
|
|
+++ bin/smtp-vilter/engine.c Sun Feb 4 13:05:48 2007
|
|
@@ -1764,6 +1764,8 @@ e_main(uid_t uid, gid_t gid, int pipe_m2
|
|
syslog(LOG_INFO, "dropped privileges, running as %d:%d", uid, gid);
|
|
|
|
/* Initialize sendmail milter */
|
|
+ bzero(&desc, sizeof(desc));
|
|
+
|
|
desc.xxfi_name = "smtp-vilter";
|
|
desc.xxfi_version = SMFI_VERSION;
|
|
desc.xxfi_flags = SMFIF_ADDHDRS | SMFIF_CHGHDRS;
|