Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
8c9a5e0c
Commit
8c9a5e0c
authored
Aug 27, 2012
by
JINMEI Tatuya
Browse files
[2107] fixed a use-after-free bug in rdataSetDeleter.
parent
5e463e91
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/memory/zone_data.cc
View file @
8c9a5e0c
...
...
@@ -42,9 +42,12 @@ void
rdataSetDeleter
(
RRClass
rrclass
,
util
::
MemorySegment
*
mem_sgmt
,
RdataSet
*
rdataset_head
)
{
RdataSet
*
rdataset_next
;
for
(
RdataSet
*
rdataset
=
rdataset_head
;
rdataset
!=
NULL
;
rdataset
=
rdataset
->
getNext
())
{
rdataset
=
rdataset_next
)
{
rdataset_next
=
rdataset
->
getNext
();
RdataSet
::
destroy
(
*
mem_sgmt
,
rrclass
,
rdataset
);
}
}
...
...
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