BIND 10 #2940: DHCPv4 server crashes when using Memfile backend and running perfdhcp

BIND 10 Development do-not-reply at isc.org
Wed Sep 11 21:12:12 UTC 2013


#2940: DHCPv4 server crashes when using Memfile backend and running perfdhcp
-------------------------------------+-------------------------------------
            Reporter:  marcin        |                        Owner:
                Type:  defect        |  marcin
            Priority:  medium        |                       Status:
           Component:  dhcp4         |  reviewing
            Keywords:                |                    Milestone:  DHCP
           Sensitive:  0             |  Outstanding Tasks
         Sub-Project:  DHCP          |                   Resolution:
Estimated Difficulty:  0             |                 CVSS Scoring:
         Total Hours:  0             |              Defect Severity:
                                     |  Medium
                                     |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
Changes (by dclink):

 * owner:  dclink => marcin
 * status:  assigned => reviewing


Comment:

 It happens when the client id is null. Marcin and I decided to create a
 new small method for Lease4 which returns an empty vector if client_id_ is
 null. Besides, the custom KeyExtractor for lease4 storage was simply
 replaced by a const function access to this new method.
 For last, a new small set of unit tests comes with (Plus a small update of
 ClientIdNull one to check if it throws an exception...).

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


More information about the bind10-tickets mailing list