Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2024 07:44:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 279780] [patch] mail/opendmarc fix crash on FreeBSD >= 14.1
Message-ID:  <bug-279780-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279780

            Bug ID: 279780
           Summary: [patch] mail/opendmarc fix crash on FreeBSD >=3D 14.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd-bug-report-yf@yf.bsdclub.org
                CC: freebsd@gushi.org
                CC: freebsd@gushi.org
             Flags: maintainer-feedback?(freebsd@gushi.org)

Created attachment 251493
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D251493&action=
=3Dedit
a patch to add files/patch-libopendmarc_opendmarc__dns.c to mail/opendmarc =
port

After I upgraded FreeBSD from 14.0 to 14.1, opendmarc milter come to crash =
on
every times when the MTA pass the message to the opendmarc milter.

[[[
Jun 13 02:36:40 mkii opendmarc[2179]: 45CHaefM002265: ignoring invalid
ARC-Authentication-Results header "i=3D1;  mx1.freebsd.org;        none"
Jun 13 02:36:40 mkii opendmarc[2179]: 45CHaefM002265: SPF(mailfrom):
FreeBSD.org fail
Jun 13 02:36:40 mkii opendmarc[2179]: OpenDMARC Filter: poll() returned
exception for socket, abort
Jun 13 02:36:40 mkii kernel: pid 2179 (opendmarc), jid 0, uid 26: exited on
signal 6 (no core dump - bad address
]]]

It seems it was caused by the Github's issue #245
(https://github.com/trusteddomainproject/OpenDMARC/issues/245).

Before FreeBSD 14.1, it was not triggered because configure script cannot f=
ind
res_ninit() because of another issue #257
(https://github.com/trusteddomainproject/OpenDMARC/issues/257), thus the co=
de
was not active.

The patch brought from the issue #245 seems to work for me.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279780-7788>