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
B
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
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
Tony Finch
BIND
Commits
7c458020
Commit
7c458020
authored
Dec 08, 2017
by
Tony Finch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix crash at shutdown during an RPZ reload. [RT #46210]
parent
c6b43074
Pipeline
#158
failed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
CHANGES
CHANGES
+3
-0
lib/dns/rpz.c
lib/dns/rpz.c
+7
-1
No files found.
CHANGES
View file @
7c458020
4895. [bug] named could crash when a shutdown occurred during
an RPZ reload. [RT #46210]
4894. [bug] named could crash while rolling a dnstap output file.
[RT #46942]
...
...
lib/dns/rpz.c
View file @
7c458020
...
...
@@ -2089,9 +2089,15 @@ rpz_detach(dns_rpz_zone_t **rpzp, dns_rpz_zones_t *rpzs) {
ISC_FALSE
);
if
(
rpz
->
db
)
dns_db_detach
(
&
rpz
->
db
);
isc_ht_destroy
(
&
rpz
->
nodes
);
if
(
rpz
->
updaterunning
)
isc_task_purgeevent
(
rpz
->
rpzs
->
updater
,
&
rpz
->
updateevent
);
isc_timer_reset
(
rpz
->
updatetimer
,
isc_timertype_inactive
,
NULL
,
NULL
,
ISC_TRUE
);
isc_timer_detach
(
&
rpz
->
updatetimer
);
isc_ht_destroy
(
&
rpz
->
nodes
);
isc_mem_put
(
rpzs
->
mctx
,
rpz
,
sizeof
(
*
rpz
));
}
...
...
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