cppcheck analysis of blender_2.56.1-beta-svn34076-1.dsc
- ./extern/binreloc/binreloc.c:250 [error] - Common realloc mistake: "address_string" nulled but not freed upon failure
- ./extern/libopenjpeg/j2k.c:1481 [error] - Common realloc mistake: "data" nulled but not freed upon failure
- ./intern/audaspace/intern/AUD_SequencerReader.cpp:126 [style] - The iterator incrementing is suspicious - it is incremented at line 126 and then at line 121 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./intern/bsp/test/BSP_GhostTest/plyfile.c:252 [error] - Memory leak: name
- ./intern/bsp/test/BSP_GhostTest/plyfile.c:748 [error] - Memory leak: plyfile
- ./intern/bsp/test/BSP_GhostTest/plyfile.c:862 [error] - Memory leak: name
- ./intern/decimation/test/decimate_glut_test/intern/ply/plyfile.c:252 [error] - Memory leak: name
- ./intern/decimation/test/decimate_glut_test/intern/ply/plyfile.c:748 [error] - Memory leak: plyfile
- ./intern/decimation/test/decimate_glut_test/intern/ply/plyfile.c:862 [error] - Memory leak: name
- ./intern/guardedalloc/intern/mmap_win.c:152 [error] - Possible null pointer dereference: mm
- ./intern/guardedalloc/intern/mmap_win.c:153 [error] - Possible null pointer dereference: mm
- ./intern/guardedalloc/intern/mmap_win.c:154 [error] - Possible null pointer dereference: mm
- ./intern/itasc/kdl/frames.inl:53 [error] - Array 'deltaq[2]' index 2 out of bounds
- ./source/blender/blenkernel/intern/DerivedMesh.c:1991 [error] - syntax error
- ./source/blender/blenkernel/intern/exotic.c:367 [error] - Common realloc mistake: "vertdata" nulled but not freed upon failure
- ./source/blender/blenkernel/intern/lattice.c:972 [error] - syntax error
- ./source/blender/blenkernel/intern/mesh.c:1273 [error] - syntax error
- ./source/blender/blenkernel/intern/particle_system.c:216 [error] - Possible null pointer dereference: newboids
- ./source/blender/blenkernel/intern/pointcache.c:2828 [error] - Resource leak: dir
- ./source/blender/blenkernel/intern/softbody.c:1648 [error] - Possible null pointer dereference: sb - otherwise it is redundant to check if sb is null at line 1649
- ./source/blender/blenlib/intern/listbase.c:183 [error] - Possible null pointer dereference: previous - otherwise it is redundant to check if previous is null at line 190
- ./source/blender/blenlib/intern/scanfill.c:415 [error] - Possible null pointer dereference: ed1
- ./source/blender/blenloader/intern/readfile.c:2994 [error] - Possible null pointer dereference: cache
- ./source/blender/editors/interface/interface_regions.c:2169 [error] - Possible null pointer dereference: but - otherwise it is redundant to check if but is null at line 2173
- ./source/blender/editors/render/render_preview.c:928 [error] - Possible null pointer dereference: rv3d
- ./source/blender/editors/screen/screen_ops.c:2150 [error] - Possible null pointer dereference: op - otherwise it is redundant to check if op is null at line 2151
- ./source/blender/editors/space_graph/graph_edit.c:505 [error] - Possible null pointer dereference: ale - otherwise it is redundant to check if ale is null at line 506
- ./source/blender/editors/space_time/space_time.c:126 [error] - Possible null pointer dereference: stc - otherwise it is redundant to check if stc is null at line 127
- ./source/blender/editors/space_view3d/view3d_edit.c:2820 [error] - Uninitialized variable: dval
- ./source/blender/makesrna/intern/makesrna.c:2011 [error] - Buffer access out-of-bounds
- ./source/blender/makesrna/intern/makesrna.c:2012 [error] - Buffer access out-of-bounds
- ./source/blender/windowmanager/intern/wm_files.c:348 [error] - Possible null pointer dereference: op - otherwise it is redundant to check if op is null at line 361
- ./source/gameengine/Converter/BL_ArmatureConstraint.cpp:289 [error] - Possible null pointer dereference: constraint - otherwise it is redundant to check if constraint is null at line 292
- ./source/gameengine/Converter/BL_ArmatureConstraint.cpp:354 [error] - Possible null pointer dereference: constraint - otherwise it is redundant to check if constraint is null at line 361
- ./source/gameengine/Converter/KX_IpoConvert.cpp:200 [error] - Memory leak: adtList
- ./source/gameengine/Converter/KX_IpoConvert.cpp:245 [error] - Memory leak: adtList
- ./source/gameengine/Converter/KX_IpoConvert.cpp:290 [error] - Memory leak: adtList
- ./source/gameengine/Converter/KX_IpoConvert.cpp:339 [error] - Memory leak: adtList
- ./source/gameengine/Converter/KX_IpoConvert.cpp:449 [error] - Memory leak: adtList
- ./source/gameengine/GameLogic/SCA_TimeEventManager.cpp:106 [error] - Same iterator is used with both m_timevalues and m_timevalues
- ./source/gameengine/GamePlayer/ghost/GPG_Application.cpp:567 [error] - Possible null pointer dereference: m_rasterizer - otherwise it is redundant to check if m_rasterizer is null at line 569
- ./source/gameengine/Ketsji/KX_WorldIpoController.cpp:52 [error] - Possible null pointer dereference: world
- ./source/gameengine/Ketsji/KX_WorldIpoController.cpp:56 [error] - Possible null pointer dereference: world
- ./source/gameengine/Ketsji/KX_WorldIpoController.cpp:57 [error] - Possible null pointer dereference: world
- ./source/gameengine/Ketsji/KX_WorldIpoController.cpp:58 [error] - Possible null pointer dereference: world
- ./source/gameengine/Ketsji/KX_WorldIpoController.cpp:62 [error] - Possible null pointer dereference: world
- ./source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp:1621 [error] - Uninitialized variable: o
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 21 Mar 2011 06:58:02 +0000, based on results by cppcheck 1.46