mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
mail/opendmarc: Fix crash on FreeBSD >= 14.1
PR: 279780 Obtained from: https://github.com/trusteddomainproject/OpenDMARC/issues/245 Tested by: leres, John R <gamer@ryppn.com> Approved by: hrs (mentor), maintainer timeout (6 weeks)
This commit is contained in:
parent
2a00f17c90
commit
e6b99be61e
2 changed files with 11 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= opendmarc
|
||||
PORTVERSION= 1.4.2
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= mail security
|
||||
MASTER_SITES= GH
|
||||
|
||||
|
|
10
mail/opendmarc/files/patch-libopendmarc_opendmarc__dns.c
Normal file
10
mail/opendmarc/files/patch-libopendmarc_opendmarc__dns.c
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- libopendmarc/opendmarc_dns.c.orig 2021-12-20 06:40:37 UTC
|
||||
+++ libopendmarc/opendmarc_dns.c
|
||||
@@ -203,6 +203,7 @@ dmarc_dns_get_record(char *domain, int *reply, char *g
|
||||
++bp;
|
||||
|
||||
#ifdef HAVE_RES_NINIT
|
||||
+ memset(&resp, '\0', sizeof resp);
|
||||
res_ninit(&resp);
|
||||
#ifdef RES_USE_DNSSEC
|
||||
resp.options |= RES_USE_DNSSEC;
|
Loading…
Add table
Reference in a new issue