BIND 10 #2537: Make construction and usage of ZoneTableSegment consistent

BIND 10 Development do-not-reply at isc.org
Wed Dec 5 12:53:16 UTC 2012


#2537: Make construction and usage of ZoneTableSegment consistent
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:
  vorner                             |                Status:  new
                       Type:         |             Milestone:  New Tasks
  defect                             |              Keywords:
                   Priority:         |             Sensitive:  0
  medium                             |           Sub-Project:  DNS
                  Component:  data   |  Estimated Difficulty:  0
  source                             |           Total Hours:  0
               CVSS Scoring:         |
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 The ZoneTableSegment has static `::create` and `::destroy` methods. But
 the
 InMemoryClient mandates the ZoneTableSegment is passed as `shared_ptr`.
 But once
 inside `shared_ptr`, it is not possible to get out and it insists it'll
 destroy
 it itself using `delete` ‒ which means the `::destroy` may never be used.

 We need to use either one or the other approach, since this interface is
 clearly wrong.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2537>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list