cppcheck analysis of tango_7.2.6+dfsg-1.dsc
- ./cppserver/database/DataBase.cpp:4665 [error] - Mismatching allocation and deallocation: wildcard
- ./cppserver/starter/CheckProcessUtil.cpp:194 [error] - Mismatching allocation and deallocation: ch
- ./cppserver/starter/CheckProcessUtil.cpp:209 [error] - Mismatching allocation and deallocation: ch
- ./cppserver/starter/CheckProcessUtil.cpp:254 [error] - Mismatching allocation and deallocation: wc
- ./cppserver/starter/CheckProcessUtil.cpp:311 [error] - Mismatching allocation and deallocation: buff
- ./cppserver/starter/Starter.cpp:1453 [error] - Memory leak: adminname
- ./cppserver/starter/StarterUtil.cpp:472 [error] - Mismatching allocation and deallocation: new_filename
- ./cppserver/starter/StarterUtil.cpp:570 [error] - Resource leak: dir
- ./cppserver/tangoaccesscontrol/DbUtils.cpp:474 [error] - Invalid iterator: pos
- ./cppserver/tangotest/TangoTest.cpp:2793 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:2795 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:2833 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:2835 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:2873 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:2875 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:2913 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:2915 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:2953 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:2955 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:2993 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:2995 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:3033 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:3035 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:3073 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:3075 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:3113 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:3114 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:3116 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:3154 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:3155 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:3157 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:3259 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:3261 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:3298 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:3300 [error] - Possible null pointer dereference: argout
- ./cppserver/tangotest/TangoTest.cpp:3353 [error] - Null pointer dereference
- ./lib/cpp/client/dbapi_base.cpp:1544 [error] - Uninitialized variable: n_props
- ./lib/cpp/client/dbapi_base.cpp:1598 [error] - Uninitialized variable: n_props
- ./lib/cpp/client/dbapi_base.cpp:2128 [error] - Uninitialized variable: n_props
- ./lib/cpp/client/dbapi_base.cpp:2182 [error] - Uninitialized variable: n_props
- ./lib/cpp/client/devapi_base.cpp:4138 [error] - Uninitialized variable: nb_prop
- ./lib/cpp/client/devapi_base.cpp:4202 [error] - Uninitialized variable: nb_prop
- ./lib/cpp/client/devapi_data.cpp:724 [error] - Uninitialized variable: c_string
- ./lib/cpp/client/devapi_data.cpp:826 [error] - Uninitialized variable: char_array
- ./lib/cpp/client/devapi_data.cpp:891 [error] - Uninitialized variable: short_array
- ./lib/cpp/client/devapi_data.cpp:957 [error] - Uninitialized variable: ushort_array
- ./lib/cpp/client/devapi_data.cpp:1023 [error] - Uninitialized variable: long_array
- ./lib/cpp/client/devapi_data.cpp:1089 [error] - Uninitialized variable: ulong_array
- ./lib/cpp/client/devapi_data.cpp:1211 [error] - Uninitialized variable: ll_array
- ./lib/cpp/client/devapi_data.cpp:1247 [error] - Uninitialized variable: ull_array
- ./lib/cpp/client/devapi_data.cpp:1283 [error] - Uninitialized variable: float_array
- ./lib/cpp/client/devapi_data.cpp:1348 [error] - Uninitialized variable: double_array
- ./lib/cpp/client/devapi_data.cpp:1413 [error] - Uninitialized variable: string_array
- ./lib/cpp/client/devapi_data.cpp:1676 [error] - Uninitialized variable: long_string_array
- ./lib/cpp/client/devapi_data.cpp:1770 [error] - Uninitialized variable: double_string_array
- ./lib/cpp/client/devapi_utils.cpp:309 [error] - Uninitialized variable: seq_size
- ./lib/cpp/client/filedatabase.cpp:197 [error] - When i==positions.size(), positions[i] is out of bounds
- ./lib/cpp/log4tango/src/StringUtil.cpp:79 [error] - Memory leak: buffer
- ./lib/cpp/server/attribute.cpp:8054 [error] - Uninitialized variable: nb_prop
- ./lib/cpp/server/classattribute.cpp:437 [error] - Uninitialized variable: nb_prop
- ./lib/cpp/server/dev_event.cpp:2003 [error] - Possible null pointer dereference: ev_supply
- ./lib/cpp/server/device.cpp:880 [error] - Uninitialized variable: tmp_depth
- ./lib/cpp/server/device.cpp:894 [error] - Uninitialized variable: tmp_poll
- ./lib/cpp/server/dserverclass.cpp:890 [error] - mismatching number of '(' and ')' in this line: (defined _WINDOWS||(defined __SUNPRO_CC)||(defined GCC_STD)
- ./lib/cpp/server/event.cpp:1706 [error] - Uninitialized variable: err_ptr
- ./lib/cpp/server/logging.cpp:804 [error] - Possible null pointer dereference: logger
- ./lib/cpp/server/logging.cpp:814 [error] - Possible null pointer dereference: ret
- ./lib/cpp/server/logging.cpp:818 [error] - Possible null pointer dereference: ret
- ./lib/cpp/server/logging.cpp:893 [error] - Possible null pointer dereference: logger
- ./lib/cpp/server/logging.cpp:956 [error] - Possible null pointer dereference: logger
- ./lib/cpp/server/logging.cpp:288 [error] - Uninitialized variable: rtf
- ./lib/cpp/server/multiattribute.cpp:370 [error] - Uninitialized variable: nb_prop
- ./lib/cpp/server/multiattribute.cpp:768 [error] - Uninitialized variable: nb_prop
- ./utils/tango_admin/anyoption.cpp:115 [error] - Buffer access out-of-bounds
- ./utils/tango_admin/anyoption.cpp:181 [error] - Common realloc mistake: "optiontype" nulled but not freed upon failure
- ./utils/tango_admin/anyoption.cpp:183 [error] - Common realloc mistake: "optionindex" nulled but not freed upon failure
- ./utils/tango_admin/anyoption.cpp:200 [error] - Common realloc mistake: "optionchars" nulled but not freed upon failure
- ./utils/tango_admin/anyoption.cpp:202 [error] - Common realloc mistake: "optchartype" nulled but not freed upon failure
- ./utils/tango_admin/anyoption.cpp:204 [error] - Common realloc mistake: "optcharindex" nulled but not freed upon failure
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Wed, 20 Apr 2011 06:58:28 +0000, based on results by cppcheck 1.46