cppcheck analysis of blender_2.49.2~dfsg-1.dsc
- ./extern/fftw/kernel/tensor2.c:32 [possible error] - Array 'dims[1]' index 1 out of bounds
- ./extern/fftw/kernel/tensor2.c:33 [possible error] - Array 'dims[1]' index 1 out of bounds
- ./extern/fftw/kernel/tensor2.c:34 [possible error] - Array 'dims[1]' index 1 out of bounds
- ./extern/fftw/kernel/tensor2.c:47 [possible error] - Array 'dims[1]' index 1 out of bounds
- ./extern/fftw/kernel/tensor2.c:48 [possible error] - Array 'dims[1]' index 1 out of bounds
- ./extern/fftw/kernel/tensor2.c:49 [possible error] - Array 'dims[1]' index 1 out of bounds
- ./extern/fftw/kernel/tensor2.c:50 [possible error] - Array 'dims[1]' index 2 out of bounds
- ./extern/fftw/kernel/tensor2.c:51 [possible error] - Array 'dims[1]' index 2 out of bounds
- ./extern/fftw/kernel/tensor2.c:52 [possible error] - Array 'dims[1]' index 2 out of bounds
- ./extern/ode/dist/contrib/tri-collider/array.h:47 [error] - Class dArrayBase which is inherited by class dArray<int> does not have a virtual destructor
- ./extern/ode/dist/contrib/tri-collider/array.h:47 [error] - Class dArrayBase which is inherited by class dArray<CollisionTriangle> does not have a virtual destructor
- ./extern/ode/dist/drawstuff/src/windows.cpp:112 [error] - Array 'keybuffer[16]' index 16 out of bounds
- ./extern/ode/dist/ode/src/array.h:47 [error] - Class dArrayBase which is inherited by class dArray<int> does not have a virtual destructor
- ./extern/solid/src/complex/DT_Complex.cpp:107 [possible error] - Memory leak: indices
- ./intern/SoundSystem/openal/SND_OpenALDevice.cpp:146 [error] - Resource leak: fp
- ./intern/bsp/intern/CSG_BooleanOps.cpp:60 [error] - Memory leak: mesh_info
- ./intern/bsp/intern/CSG_BooleanOps.cpp:60 [error] - Memory leak: output
- ./intern/elbeem/intern/controlparticles.cpp:799 [possible error] - Memory leak: model
- ./intern/elbeem/intern/ntl_geometryobject.h:181 [possible error] - Memory leak: ntlGeometryObject::mpMaterial
- ./intern/ghost/intern/GHOST_DisplayManagerCarbon.h:111 [possible error] - Memory leak: GHOST_DisplayManagerCarbon::m_displayIDs
- ./source/blender/blenkernel/intern/depsgraph.c:1691 [error] - Possible null pointer dereference: node - otherwise it is redundant to check if node is null at line 1706
- ./source/blender/blenkernel/intern/depsgraph.c:2397 [error] - Possible null pointer dereference: node - otherwise it is redundant to check if node is null at line 2409
- ./source/blender/blenkernel/intern/packedFile.c:215 [possible error] - Resource leak: file
- ./source/blender/blenkernel/intern/writeffmpeg.c:367 [error] - Dangerous usage of 'name' (strncpy doesn't always 0-terminate it)
- ./source/blender/blenlib/intern/scanfill.c:428 [error] - Possible null pointer dereference: ed1
- ./source/blender/blenlib/intern/storage.c:485 [error] - Resource leak: file
- ./source/blender/blenlib/intern/util.c:412 [error] - Possible null pointer dereference: previous - otherwise it is redundant to check if previous is null at line 419
- ./source/blender/ftfont/intern/FTF_TTFont.h:123 [possible error] - Memory leak: FTF_TTFont::font
- ./source/blender/imbuf/intern/IMB_imginfo.h:34 [error] - Invalid number of character ({) when these macros are defined: '__cplusplus'.
- ./source/blender/imbuf/intern/openexr/openexr_api.cpp:993 [possible error] - Memory leak: membuf
- ./source/blender/imbuf/intern/readimage.c:315 [error] - Resource leak: file
- ./source/blender/imbuf/intern/targa.c:299 [error] - Resource leak: fildes
- ./source/blender/python/BPY_menus.c:521 [error] - Resource leak: fp
- ./source/blender/python/api2_2x/Blender.c:640 [possible error] - Resource leak: file
- ./source/blender/python/api2_2x/Text3d.c:1247 [error] - Resource leak: file
- ./source/blender/render/intern/source/convertblender.c:5061 [error] - Possible null pointer dereference: fluidmd - otherwise it is redundant to check if fluidmd is null at line 5067
- ./source/blender/src/drawview.c:1298 [error] - Undefined behaviour: shapes 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.
- ./source/blender/src/editfont.c:697 [possible error] - Resource leak: file
- ./source/blender/src/editmesh_tools.c:5994 [error] - Undefined behaviour: menu 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.
- ./source/blender/src/editseq.c:1185 [error] - Dangerous usage of 'str' (strncpy doesn't always 0-terminate it)
- ./source/blender/src/fluidsim.c:618 [error] - Possible null pointer dereference: domainSettings - otherwise it is redundant to check if domainSettings is null at line 1043
- ./source/blender/src/fluidsim.c:619 [error] - Possible null pointer dereference: domainSettings - otherwise it is redundant to check if domainSettings is null at line 1043
- ./source/blender/src/header_script.c:165 [error] - Possible null pointer dereference: sc - otherwise it is redundant to check if sc is null at line 168
- ./source/gameengine/Converter/BL_BlenderDataConversion.cpp:2725 [possible error] - Memory leak: sumolist
- ./source/gameengine/Converter/BL_BlenderDataConversion.cpp:2725 [possible error] - Memory leak: logicbrick_conversionlist
- ./source/gameengine/Converter/KX_ConvertActuators.cpp:1180 [possible error] - Memory leak: uniqueval
- ./source/gameengine/Converter/KX_ConvertControllers.cpp:232 [possible error] - Memory leak: uniqueval
- ./source/gameengine/Converter/KX_ConvertSensors.cpp:820 [possible error] - Memory leak: uniqueval
- ./source/gameengine/Converter/KX_IpoConvert.cpp:563 [possible error] - Memory leak: ipocontr
- ./source/gameengine/Expressions/InputParser.h:81 [possible error] - Memory leak: CParser::errmsg
- ./source/gameengine/Expressions/ListValue.cpp:184 [possible error] - Memory leak: listval_new
- ./source/gameengine/Expressions/Operator1Expr.cpp:68 [possible error] - Memory leak: empty
- ./source/gameengine/GameLogic/SCA_ILogicBrick.cpp:90 [possible error] - Memory leak: temp
- ./source/gameengine/GameLogic/SCA_ILogicBrick.cpp:104 [possible error] - Memory leak: temp
- ./source/gameengine/GameLogic/SCA_PropertyActuator.cpp:131 [possible error] - Memory leak: expr
- ./source/gameengine/GameLogic/SCA_RandomActuator.cpp:266 [possible error] - Memory leak: tmpval
- ./source/gameengine/GameLogic/SCA_RandomActuator.h:53 [possible error] - Memory leak: SCA_RandomActuator::m_base
- ./source/gameengine/GameLogic/SCA_RandomSensor.h:46 [possible error] - Memory leak: SCA_RandomSensor::m_basegenerator
- ./source/gameengine/GamePlayer/common/GPC_Engine.h:85 [possible error] - Memory leak: GPC_Engine::m_customLoadingAnimationURL
- ./source/gameengine/GamePlayer/common/GPC_RawImage.h:112 [possible error] - Memory leak: GPC_RawImage::m_data
- ./source/gameengine/GamePlayer/netscape/src/ketsji/KXH_ketsji_hooks.cpp:595 [possible error] - Memory leak: startSceneName
- ./source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp:295 [possible error] - Memory leak: smmaterial
- ./source/gameengine/Ketsji/KX_Light.cpp:372 [error] - Uninitialized variable: retvalue
- ./source/gameengine/Ketsji/KX_WorldIpoController.cpp:55 [error] - Possible null pointer dereference: world
- ./source/gameengine/Physics/Bullet/CcdPhysicsController.cpp:303 [error] - Possible null pointer dereference: psb
- ./source/gameengine/VideoTexture/ImageRender.h:66 [possible error] - Memory leak: ImageRender::m_camera
- ./source/gameengine/VideoTexture/ImageViewport.cpp:49 [possible error] - Mismatching allocation and deallocation: ImageViewport::m_viewportImage
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 05:46:22 +0000, based on results by cppcheck 1.41-modif