mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-07 20:27:02 +01:00
fe01e850a8
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
26 lines
851 B
Diff
26 lines
851 B
Diff
diff --git a/libopendmarc/opendmarc_policy.c b/libopendmarc/opendmarc_policy.c
|
|
index 862c449..8048ec3 100644
|
|
--- a/libopendmarc/opendmarc_policy.c
|
|
+++ b/libopendmarc/opendmarc_policy.c
|
|
@@ -1087,6 +1087,10 @@ opendmarc_policy_parse_dmarc(DMARC_POLICY_T *pctx, u_char *domain, u_char *recor
|
|
/*
|
|
* A possibly comma delimited list of URI of where to send reports.
|
|
*/
|
|
+
|
|
+ if (pctx->rua_list != NULL)
|
|
+ return DMARC_PARSE_ERROR_BAD_VALUE;
|
|
+
|
|
for (xp = vp; *xp != '\0'; )
|
|
{
|
|
u_char xbuf[256];
|
|
@@ -1115,6 +1119,10 @@ opendmarc_policy_parse_dmarc(DMARC_POLICY_T *pctx, u_char *domain, u_char *recor
|
|
* A possibly comma delimited list of URI of where to send
|
|
* MARF reports.
|
|
*/
|
|
+
|
|
+ if (pctx->ruf_list != NULL)
|
|
+ return DMARC_PARSE_ERROR_BAD_VALUE;
|
|
+
|
|
for (xp = vp; *xp != '\0'; )
|
|
{
|
|
u_char xbuf[256];
|