BIND 10 #2674: Use data types consistently in isc::cc::Session

BIND 10 Development do-not-reply at isc.org
Thu Jan 31 10:59:09 UTC 2013


#2674: Use data types consistently in isc::cc::Session
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:
  vorner                             |                Status:  new
                       Type:         |             Milestone:  New Tasks
  defect                             |              Keywords:
                   Priority:         |             Sensitive:  0
  medium                             |           Sub-Project:  Core
                  Component:         |  Estimated Difficulty:  0
  Inter-module communication         |           Total Hours:  0
               CVSS Scoring:         |
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 The Session uses some binary integers in the wire protocol. However, it
 mixes the types on read and write, sometimes using `size_t`, sometimes
 `uint32_t` and sometimes `unsigned int`. The other length is sometimes
 `uint16_t` and sometimes `unsigned short`.

 The python counterpart consistently uses the `U` and `H` modifiers to read
 and write them, so `uint32_t` and `uint16_t` should be used consistently
 in the C++ part too. Currently, it works mostly because of luck.

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


More information about the bind10-tickets mailing list