cppcheck analysis of mrpt_0.9.3-1.dsc
- ./libs/base/src/compress/zlib/gzio.c:149 [error] - Memory leak: s.path
- ./libs/base/src/system/CDirectoryExplorer.cpp:203 [error] - Deallocating a deallocated pointer: dir
- ./libs/base/src/utils/CStream.cpp:424 [error] - Possible null pointer dereference: classId
- ./libs/base/src/utils/jpeglib/jerror.cpp:112 [error] - Uninitialized variable: buffer
- ./libs/base/src/utils/jpeglib/jmemmgr.cpp:1069 [error] - Possible null pointer dereference: mem
- ./libs/base/src/utils/jpeglib/jmemmgr.cpp:1070 [error] - Possible null pointer dereference: mem
- ./libs/base/src/utils/jpeglib/jmemmgr.cpp:1071 [error] - Possible null pointer dereference: mem
- ./libs/base/src/utils/jpeglib/jmemmgr.cpp:1072 [error] - Possible null pointer dereference: mem
- ./libs/base/src/utils/jpeglib/jmemmgr.cpp:1073 [error] - Possible null pointer dereference: mem
- ./libs/base/src/utils/jpeglib/jmemmgr.cpp:1074 [error] - Possible null pointer dereference: mem
- ./libs/base/src/utils/jpeglib/jmemmgr.cpp:1075 [error] - Possible null pointer dereference: mem
- ./libs/base/src/utils/jpeglib/jmemmgr.cpp:1076 [error] - Possible null pointer dereference: mem
- ./libs/base/src/utils/jpeglib/jmemmgr.cpp:1077 [error] - Possible null pointer dereference: mem
- ./libs/base/src/utils/jpeglib/jmemmgr.cpp:1078 [error] - Possible null pointer dereference: mem
- ./libs/base/src/utils/jpeglib/jmemmgr.cpp:1079 [error] - Possible null pointer dereference: mem
- ./libs/base/src/utils/jpeglib/jmemmgr.cpp:1082 [error] - Possible null pointer dereference: mem
- ./libs/base/src/utils/jpeglib/jmemmgr.cpp:1085 [error] - Possible null pointer dereference: mem
- ./libs/base/src/utils/jpeglib/jmemmgr.cpp:1088 [error] - Possible null pointer dereference: mem
- ./libs/base/src/utils/jpeglib/jmemmgr.cpp:1089 [error] - Possible null pointer dereference: mem
- ./libs/base/src/utils/jpeglib/jmemmgr.cpp:1091 [error] - Possible null pointer dereference: mem
- ./libs/base/src/utils/jpeglib/jmemmgr.cpp:1092 [error] - Possible null pointer dereference: mem
- ./libs/base/src/utils/jpeglib/jmemmgr.cpp:1094 [error] - Possible null pointer dereference: mem
- ./libs/base/src/utils/xmlparser/xmlParser.cpp:664 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./libs/base/src/utils/xmlparser/xmlParser.cpp:2823 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./libs/hwdrivers/src/CImageGrabber_dc1394.cpp:365 [error] - Memory leak: imageBufRGB
- ./libs/hwdrivers/src/CImageGrabber_dc1394.cpp:434 [error] - Memory leak: imageBufRGB
- ./libs/hwdrivers/src/CPtuDPerception.cpp:268 [error] - Array 'sTrans[2]' index 2 out of bounds
- ./libs/hwdrivers/src/CRovio.cpp:416 [error] - Memory leak: x_char
- ./libs/hwdrivers/src/CRovio.cpp:520 [error] - Memory leak: x_char
- ./libs/hwdrivers/src/CRovio.cpp:520 [error] - Memory leak: y_char
- ./libs/hwdrivers/src/CRovio.cpp:520 [error] - Memory leak: theta_char
- ./libs/hwdrivers/src/aria/src/ArArgumentBuilder.cpp:138 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./libs/hwdrivers/src/aria/src/ArArgumentParser.cpp:719 [error] - Undefined behaviour: buf 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.
- ./libs/hwdrivers/src/aria/src/ArConfig.cpp:1149 [error] - Undefined behaviour: line 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.
- ./libs/hwdrivers/src/aria/src/ArConfig.cpp:1154 [error] - Undefined behaviour: line 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.
- ./libs/hwdrivers/src/aria/src/ArConfig.cpp:1201 [error] - Undefined behaviour: line 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.
- ./libs/hwdrivers/src/aria/src/ArConfig.cpp:1206 [error] - Undefined behaviour: line 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.
- ./libs/hwdrivers/src/aria/src/ArConfig.cpp:1250 [error] - Undefined behaviour: line 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.
- ./libs/hwdrivers/src/aria/src/ArConfig.cpp:1254 [error] - Undefined behaviour: line 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.
- ./libs/hwdrivers/src/aria/src/ArConfig.cpp:1258 [error] - Undefined behaviour: line 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.
- ./libs/hwdrivers/src/aria/src/ArConfig.cpp:1262 [error] - Undefined behaviour: line 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.
- ./libs/hwdrivers/src/aria/src/ArConfig.cpp:1284 [error] - Undefined behaviour: line 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.
- ./libs/hwdrivers/src/aria/src/ArConfig.cpp:1287 [error] - Undefined behaviour: line 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.
- ./libs/hwdrivers/src/aria/src/ArConfig.cpp:1293 [error] - Undefined behaviour: line 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.
- ./libs/hwdrivers/src/aria/src/ArConfig.cpp:1297 [error] - Undefined behaviour: line 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.
- ./libs/hwdrivers/src/aria/src/ArConfig.cpp:1299 [error] - Undefined behaviour: line 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.
- ./libs/hwdrivers/src/aria/src/ArConfig.cpp:1305 [error] - Undefined behaviour: line 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.
- ./libs/hwdrivers/src/aria/src/ArConfig.cpp:1308 [error] - Undefined behaviour: line 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.
- ./libs/hwdrivers/src/aria/src/ArConfig.cpp:1311 [error] - Undefined behaviour: line 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.
- ./libs/hwdrivers/src/aria/src/ArConfig.cpp:1329 [error] - Undefined behaviour: line 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.
- ./libs/hwdrivers/src/aria/src/ArConfig.cpp:1334 [error] - Undefined behaviour: line 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.
- ./libs/hwdrivers/src/aria/src/ArDataLogger.cpp:464 [error] - Mismatching allocation and deallocation: buf
- ./libs/hwdrivers/src/aria/src/ArNetServer.cpp:362 [error] - Same iterator is used with both removeList and myConns
- ./libs/hwdrivers/src/aria/src/ariaUtil.cpp:655 [error] - Resource leak: strFile
- ./libs/hwdrivers/src/aria/src/ariaUtil.cpp:752 [error] - Mismatching allocation and deallocation: valueName
- ./libs/hwdrivers/src/aria/src/ariaUtil.cpp:757 [error] - Mismatching allocation and deallocation: valueName
- ./libs/hwdrivers/src/aria/src/ariaUtil.cpp:767 [error] - Mismatching allocation and deallocation: valueName
- ./libs/hwdrivers/src/aria/src/ariaUtil.cpp:751 [error] - Mismatching allocation and deallocation: data
- ./libs/hwdrivers/src/aria/src/ariaUtil.cpp:756 [error] - Mismatching allocation and deallocation: data
- ./libs/hwdrivers/src/aria/src/ariaUtil.cpp:766 [error] - Mismatching allocation and deallocation: data
- ./libs/hwdrivers/src/xSens/cmtmessage.cpp:425 [error] - Common realloc mistake: "m_buffer" nulled but not freed upon failure
- ./libs/opengl/src/COpenGLViewport.cpp:427 [error] - Possible null pointer dereference: it
- ./libs/opengl/src/freeglut-2.4.0/freeglut_joystick.c:867 [error] - Invalid number of character (() when these macros are defined: 'TARGET_HOST_MAC_OSX'.
- ./libs/opengl/src/freeglut-2.4.0/freeglut_menu.c:825 [error] - Memory leak: menuEntry
- ./libs/opengl/src/freeglut-2.4.0/freeglut_menu.c:848 [error] - Memory leak: menuEntry
- ./libs/opengl/src/lib3ds/tracks.c:206 [error] - Memory leak: k
- ./libs/opengl/src/lib3ds/tracks.c:523 [error] - Memory leak: k
- ./libs/opengl/src/lib3ds/tracks.c:839 [error] - Memory leak: k
- ./libs/opengl/src/lib3ds/tracks.c:1187 [error] - Memory leak: k
- ./libs/opengl/src/lib3ds/tracks.c:1391 [error] - Memory leak: k
- ./libs/slam/src/slam/CGridMapAligner.cpp:161 [error] - Possible null pointer dereference: m1
- ./libs/slam/src/slam/CGridMapAligner.cpp:161 [error] - Possible null pointer dereference: m2
- ./libs/vision/src/sift-hess/imgfeatures.c:217 [error] - Resource leak: file
- ./libs/vision/src/sift-hess/imgfeatures.c:428 [error] - Resource leak: file
- ./otherlibs/gtest-1.5.0/fused-src/gtest/gtest-all.cc:4945 [error] - Null pointer dereference
- ./otherlibs/wxThings/src/matrix2d.cpp:899 [error] - Common realloc mistake: "data" nulled but not freed upon failure
- ./otherlibs/wxThings/src/matrix2d.cpp:939 [error] - Common realloc mistake: "data" 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 Fri, 24 Dec 2010 17:58:47 +0000, based on results by cppcheck 1.46