1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

mail/meta1: fix potential CNAME mishandling

This commit is contained in:
Dirk Meyer
2025-12-10 13:34:33 +01:00
parent f29131eda7
commit f350971a0c
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
PORTNAME= meta1
PORTVERSION= 1.1.1a.21.0
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.MeTA1.org/download/.alpha/bdconf/
DISTNAME= ${PORTNAME}-1.1.Alpha21.0
+12
View File
@@ -0,0 +1,12 @@
--- libdns/dnsdecode.c Sun Jun 11 07:09:35 2023
+++ libdns/dnsdecode.c
@@ -457,6 +457,8 @@
dns_rese = dns_rese_next)
{
dns_rese_next = DRESL_NEXT(dns_rese);
+ if (T_MX != dns_rese->dnsrese_type)
+ continue;
if (strcasecmp((const char *) mxhost,
(const char *) sm_cstr_data(dns_rese->dnsrese_val.dnsresu_name))
== 0)