BIND 10 #1093: Duplicate message ID should cause program to terminate

BIND 10 Development do-not-reply at isc.org
Wed Jul 6 14:54:56 UTC 2011


#1093: Duplicate message ID should cause program to terminate
---------------------------------------+-----------------------------------
                   Reporter:  stephen  |                 Owner:  UnAssigned
                       Type:  defect   |                Status:  reviewing
                   Priority:  minor    |             Milestone:  New Tasks
                  Component:  logging  |            Resolution:
                   Keywords:           |             Sensitive:  0
            Defect Severity:  N/A      |           Sub-Project:  DNS
Feature Depending on Ticket:           |  Estimated Difficulty:  0.0
        Add Hours to Ticket:  0        |           Total Hours:  0
                  Internal?:  0        |
---------------------------------------+-----------------------------------

Comment (by stephen):

 The modification to compiler will only work if the duplicate messages are
 in the same file.  If they are in different files, the compiler won't
 detect it.  And the link operation won't detect the clash if the symbols
 defining the message IDs are in different namespaces.  This leaves run-
 time detection as the only sure way of detecting a clash.

 Having said that, a check in the message compiler would be a useful
 addition, and I think the ticket scope should be extended to include it.

-- 
Ticket URL: <https://bind10.isc.org/ticket/1093#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list