Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
637
Issues
637
List
Boards
Labels
Service Desk
Milestones
Merge Requests
106
Merge Requests
106
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
BIND
Commits
f23c10f9
Commit
f23c10f9
authored
Nov 16, 2016
by
Mukund Sivaraman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust RPZ trigger counts only when the entry being deleted exists (#43386)
parent
4176d278
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
CHANGES
CHANGES
+3
-0
lib/dns/rpz.c
lib/dns/rpz.c
+6
-1
No files found.
CHANGES
View file @
f23c10f9
4600. [bug] Adjust RPZ trigger counts only when the entry
being deleted exists. [RT #43386]
4599. [bug] Fix inconsistencies in inline signing time
comparison that were introduced with the
introduction of rdatasetheader->resign_lsb.
...
...
lib/dns/rpz.c
View file @
f23c10f9
...
...
@@ -2262,6 +2262,7 @@ del_name(dns_rpz_zones_t *rpzs, dns_rpz_num_t rpz_num,
dns_rbtnode_t
*
nmnode
;
dns_rpz_nm_data_t
*
nm_data
,
del_data
;
isc_result_t
result
;
isc_boolean_t
exists
;
/*
* We need a summary database of names even with 1 policy zone,
...
...
@@ -2305,6 +2306,9 @@ del_name(dns_rpz_zones_t *rpzs, dns_rpz_num_t rpz_num,
del_data
.
wild
.
qname
&=
nm_data
->
wild
.
qname
;
del_data
.
wild
.
ns
&=
nm_data
->
wild
.
ns
;
exists
=
ISC_TF
(
del_data
.
set
.
qname
!=
0
||
del_data
.
set
.
ns
!=
0
||
del_data
.
wild
.
qname
!=
0
||
del_data
.
wild
.
ns
!=
0
);
nm_data
->
set
.
qname
&=
~
del_data
.
set
.
qname
;
nm_data
->
set
.
ns
&=
~
del_data
.
set
.
ns
;
nm_data
->
wild
.
qname
&=
~
del_data
.
wild
.
qname
;
...
...
@@ -2326,6 +2330,7 @@ del_name(dns_rpz_zones_t *rpzs, dns_rpz_num_t rpz_num,
}
}
if
(
exists
)
adj_trigger_cnt
(
rpzs
,
rpz_num
,
rpz_type
,
NULL
,
0
,
ISC_FALSE
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment