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:
+1
-1
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user