BIND 10 #1939: New cppcheck failures

BIND 10 Development do-not-reply at isc.org
Wed May 2 09:11:27 UTC 2012


#1939: New cppcheck failures
--------------------------------+-----------------------------------------
            Reporter:  vorner   |                        Owner:
                Type:  defect   |                       Status:  new
            Priority:  medium   |                    Milestone:  New Tasks
           Component:  libdhcp  |                     Keywords:
           Sensitive:  0        |              Defect Severity:  N/A
         Sub-Project:  DHCP     |  Feature Depending on Ticket:
Estimated Difficulty:  0        |          Add Hours to Ticket:  0
         Total Hours:  0        |                    Internal?:  0
--------------------------------+-----------------------------------------
 As always, I have a newer cppcheck than the build bots. They produce some
 more errors, some of which might be valid:

 {{{
 src/lib/dhcp/iface_mgr_linux.cc:133: check_fail: C-style pointer casting
 (style,cstyleCast)
 src/lib/dhcp/iface_mgr_linux.cc:165: check_fail: C-style pointer casting
 (style,cstyleCast)
 src/lib/dhcp/iface_mgr_linux.cc:322: check_fail: C-style pointer casting
 (style,cstyleCast)
 src/lib/dhcp/iface_mgr_linux.cc:173: check_fail: Using size of pointer
 rta_tb instead of size of its data. (warning,pointerSize)
 src/lib/dhcp/iface_mgr_linux.cc:188: check_fail: Using size of pointer
 rta_tb instead of size of its data. (warning,pointerSize)
 src/lib/dhcp/iface_mgr_linux.cc:301: check_fail: Using size of pointer tb
 instead of size of its data. (warning,pointerSize)
 }}}

 As all are in the iface_mgr, I'm assigning it to the DHCP subproject.

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


More information about the bind10-tickets mailing list