BIND 10 #2595: cmdctl with chusr crashes due to permission issue

BIND 10 Development do-not-reply at isc.org
Thu Jan 24 16:15:15 UTC 2013


#2595: cmdctl with chusr crashes due to permission issue
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:
                Type:  defect        |  jinmei
            Priority:  medium        |                       Status:
           Component:  cmd-ctl       |  reviewing
            Keywords:                |                    Milestone:
           Sensitive:  0             |  Sprint-20130205
         Sub-Project:  Core          |                   Resolution:
Estimated Difficulty:  3             |                 CVSS Scoring:
         Total Hours:  0             |              Defect Severity:  N/A
                                     |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by jinmei):

 I have two minor comments on the test.  With these please merge.

 - `__check_printed_messages`: variable `el` is unused so could be `_`.
 - I guess it's safer to check expected_messages and
   self.printed_messages has the same length:
 {{{#!python
     def __check_printed_messages(self, expected_messages):
         '''Helper test function to check the printed messages against a
 list
            of regexps'''
         self.assertEqual(len(expected_messages),
 len(self.printed_messages))
 }}}

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


More information about the bind10-tickets mailing list