Projects
Eulaceura:Factory
dnsmasq
_service:obs_scm:backport-Fix-error-introduced-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:backport-Fix-error-introduced-in-51471cafa5a4fa44d6fe49.patch of Package dnsmasq
From ccff85ad72d2f858d9743d40525128e4f62d41a8 Mon Sep 17 00:00:00 2001 From: renmingshuai <renmingshuai@huawei.com> Date: Wed, 21 Feb 2024 00:24:25 +0000 Subject: [PATCH] [PATCH] Fix error introduced in 51471cafa5a4fa44d6fe490885d9910bd72a5907 Signed-off-by: renmingshuai <renmingshuai@huawei.com> Reference:https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=ccff85ad72d2f858d9743d40525128e4f62d41a8 Conflict:NA --- src/dnssec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dnssec.c b/src/dnssec.c index ed2f53f..291b43f 100644 --- a/src/dnssec.c +++ b/src/dnssec.c @@ -1547,7 +1547,7 @@ static int prove_non_existence_nsec3(struct dns_header *header, size_t plen, uns nsecs[i] = NULL; /* Speculative, will be restored if OK. */ if (!(p = skip_name(nsec3p, header, plen, 15))) - return 0; /* bad packet */ + return DNSSEC_FAIL_BADPACKET; /* bad packet */ p += 10; /* type, class, TTL, rdlen */ @@ -1640,7 +1640,7 @@ static int prove_non_existence_nsec3(struct dns_header *header, size_t plen, uns if (!wildname) { if (!(wildcard = strchr(next_closest, '.')) || wildcard == next_closest) - return 0; + return DNSSEC_FAIL_NONSEC; wildcard--; *wildcard = '*'; -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2