BIND 10 #1783: auth could cause duplicate buffer free on exception

BIND 10 Development do-not-reply at isc.org
Mon Mar 19 14:50:40 UTC 2012


#1783: auth could cause duplicate buffer free on exception
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  jinmei
  jinmei                             |                Status:  reviewing
                       Type:         |             Milestone:
  defect                             |  Sprint-20120320
                   Priority:  high   |            Resolution:
                  Component:         |             Sensitive:  0
  b10-auth                           |           Sub-Project:  DNS
                   Keywords:         |  Estimated Difficulty:  0
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:  auth   |
  performance                        |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
Changes (by jelte):

 * owner:  jelte => jinmei


Comment:

 Looks good.

 Very similar to the QueryCleaner we recently added :) Is there a known
 pattern name for this? (I.E. RAII-style resetting of reusable objects,
 RAII itself doesn't seem to apply).

 Perhaps we should make a naming convention for it;
 holder/cleaner/whatever. Would be a bit of a bikeshed discussion in itself
 but it would be nice to be able to immediately see the purpose of such a
 class when it is used.

 Anyway, it can be merged if not :)

-- 
Ticket URL: <http://bind10.isc.org/ticket/1783#comment:5>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list