[opendmarc-dev] OpenDMARC 1.2.1 Beta1 available

Murray S. Kucherawy msk at blackops.org
Fri Mar 28 22:56:46 PDT 2014


On Fri, 28 Mar 2014, Todd Lyons wrote:
> I get the same error, had to revert back to Beta0.

Try the attached patch.

-MSK
-------------- next part --------------
diff --git a/opendmarc/opendmarc.c b/opendmarc/opendmarc.c
index 71c7578..0a72e64 100644
--- a/opendmarc/opendmarc.c
+++ b/opendmarc/opendmarc.c
@@ -4315,8 +4315,12 @@ main(int argc, char **argv)
 		       VERSION, argstr);
 
 		memset(argstr, '\0', sizeof argstr);
+		strlcpy(argstr, "(none)", sizeof argstr);
 		n = sizeof argstr;
-		for (c = 0; curconf->conf_trustedauthservids[c] != NULL; c++)
+		for (c = 0;
+		     curconf->conf_trustedauthservids != NULL &&
+		     curconf->conf_trustedauthservids[c] != NULL;
+		     c++)
 		{
 			if (c != 0)
 				strlcat(argstr, ", ", n);


More information about the opendmarc-dev mailing list