cppcheck analysis of player_2.0.4-3.3.dsc
- ./client_libs/libplayerc++/rfidproxy.cc:82 [error] - Buffer access out-of-bounds
- ./client_libs/libplayerc/bindings/python/playerc_wrap.c:48054 [error] - Memory leak: arg2
- ./client_libs/libplayerc/bindings/python/playerc_wrap.c:48122 [error] - Memory leak: arg2
- ./client_libs/libplayerc/bindings/python/playerc_wrap.c:48216 [error] - Memory leak: arg2
- ./client_libs/libplayerc/bindings/python/playerc_wrap.c:48606 [error] - Memory leak: arg3
- ./libplayercore/bindings/java/playercore_java_wrap.cc:3164 [error] - Uninitialized variable: result
- ./libplayercore/bindings/java/playercore_java_wrap.cc:3224 [error] - Uninitialized variable: result
- ./server/drivers/audiodsp/acoustics.cc:220 [possible error] - Mismatching allocation and deallocation: Acoustics::fft
- ./server/drivers/audiodsp/acoustics.cc:368 [possible error] - Mismatching allocation and deallocation: Acoustics::playBuffer
- ./server/drivers/audiodsp/acoustics.cc:389 [possible error] - Mismatching allocation and deallocation: Acoustics::playBuffer
- ./server/drivers/audiodsp/acoustics.cc:390 [possible error] - Mismatching allocation and deallocation: Acoustics::playBuffer
- ./server/drivers/camera/1394/camera1394.cc:1172 [possible error] - Mismatching allocation and deallocation: Camera1394::resized
- ./server/drivers/camera/1394/camera1394.cc:1197 [possible error] - Mismatching allocation and deallocation: Camera1394::resized
- ./server/drivers/camera/1394/camera1394.cc:1255 [possible error] - Mismatching allocation and deallocation: Camera1394::resized
- ./server/drivers/camera/v4l/v4lframe.c:246 [error] - Resource leak: fp
- ./server/drivers/laser/sickpls.cc:544 [error] - Mismatching allocation and deallocation: TempData
- ./server/drivers/laser/urglaserdriver.cc:148 [possible error] - Memory leak: URGLaserDriver::Port
- ./server/drivers/localization/amcl/map/map_store.c:44 [error] - Resource leak: file
- ./server/drivers/localization/amcl/map/map_store.c:138 [error] - Resource leak: file
- ./server/drivers/map/vmapfile.cc:241 [error] - Resource leak: fp
- ./server/drivers/mcom/lifomcom.h:79 [possible error] - Memory leak: LinkList::top
- ./server/drivers/mixed/cmucam2/cmucam2.cc:511 [error] - Deallocating a deallocated pointer: camera_packet
- ./server/drivers/mixed/erratic/erratic.cc:1036 [possible error] - Memory leak: pkt
- ./server/drivers/mixed/evolution/er1/er.h:122 [possible error] - Memory leak: ER::_tc_num
- ./server/drivers/ptz/sonyevid30.cc:472 [possible error] - Buffer access out-of-bounds: reply
- ./server/drivers/shell/readlog.cc:315 [possible error] - Memory leak: ReadLog::format
- ./utils/playerjoy/playerjoy.cc:182 [possible error] - Memory leak: Client::player
- ./utils/playerjoy/playerjoy.cc:183 [possible error] - Memory leak: Client::pp
- ./utils/playerjoy/playerjoy.cc:184 [possible error] - Memory leak: Client::pp3
- ./utils/playerv/dev_dio.c:132 [error] - Undefined behaviour: str is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./utils/playerv/dev_dio.c:137 [error] - Undefined behaviour: str is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./utils/playerv/dev_dio.c:139 [error] - Undefined behaviour: str is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./utils/playerv/dev_power.c:141 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./utils/playerv/dev_power.c:148 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./utils/playerv/dev_power.c:155 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./utils/playerv/dev_power.c:162 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 06:00:40 +0000, based on results by cppcheck 1.41-modif