Commit [r39934] Maximize Restore History

CS has been analyzed by Coverity. This way several issues could be fixed:

- Added virtual destructor to RigidBodySynchronizer.
- Fixed double-free of rawBuffer in particles mesh.
- Fixed a possible use of a freed memory buffer in hairtest.
- Fixed a possible usage of a freed pointer in csSchedule.
- In the xmlshader the 'oneComboWorked' variable was potentially used
uninitialized.
- Fixed potential uninitialized minHeight/maxHeight variables in bullet
terrain collision code.
- Fixed a for loop in physicsfactories.h where the start condition was
forgotten.
- In the dds image loader a temporary array was not initialized.
- Silenced a few warnings on csHitBeamResult initializations.
- Fixed potential uninitialized usage of max_depth in Dynavis.
- Fixed a wrong initialization of bTT in furmeshproperties.
- Initialization of lastTicket in occluvis.
- Fixed a bug in the walktest recorder with regards to checking
the length of a buffer.
- Buffer testfn in instpath is potentially too small.
- Various string buffers in walkcmd were potentially too small.
- Various string buffers in md32spr were potentially too small.
- The callstackHeap was allocated too small.
- Added a comment in shadervar.cpp indicating a potential leak. Someone
should look at this and provide a correct fix.
- Imagetool forgot to close a file in some situations.
- Maya2spr forgot to close a file in some situations.
- csCursorConverter::ConvertTo1bpp() forgot to delete a buffer in some
situations.
- Fixed leaking memory in csTriangulate2.
- xmlshader forgot to delete condReader in some situations.
- The pagingformer forgot to delete a temporary buffer.
- The bullet2 sector Save function sometimes forgot to close a file.
- The bullet sector SaveBulletWorld function sometimes forgot to close a file.
- The socket eventmanager forgot to delete a buffer.
- The gmeshanim plugin forgot to delete an object in some error situations.
- Fixed various memory leaks in md32spr.
- Fixed a memory leak in dynavis.
- Fixed a memory leak in the bmp image loader.
- Fixed a memory leak in the standard input console.
- Fixed a memory leak in lighter2.
- Fixed a potential memory leak in imagemanipulate.
- More to come...

jorrit 2014-01-09

1 2 > >> (Page 1 of 2)
changed /CS/trunk/plugins/culling/dynavis/dynavis.cpp
changed /CS/trunk/apps/tests/hairtest/hairtest.cpp
changed /CS/trunk/plugins/console/input/standard/csconin.cpp
changed /CS/trunk/apps/tools/lighter2/scene.cpp
changed /CS/trunk/libs/csgeom/triangulate.cpp
changed /CS/trunk/apps/tools/lighter2/maxrect.cpp
changed /CS/trunk/include/csutil/schedule.h
changed /CS/trunk/libs/csutil/win32/instpath.cpp
changed /CS/trunk/libs/csutil/schedule.cpp
changed /CS/trunk/apps/import/maya2spr/maya_mdl.cpp
changed /CS/trunk/plugins/mesh/genmesh/anim/gmeshanim.cpp
changed /CS/trunk/apps/import/md32spr/md32spr.cpp
changed /CS/trunk/include/iengine/mesh.h
changed /CS/trunk/plugins/physics2/bullet/physicsfactories.h
changed /CS/trunk/apps/tools/imagetool/imagetool.cpp
changed /CS/trunk/libs/csgfx/imagemanipulate.cpp
changed /CS/trunk/plugins/terraformer/pagingformer/pagingformer.cpp
changed /CS/trunk/libs/csgfx/imagememory.cpp
changed /CS/trunk/libs/csplugincommon/canvas/cursorconvert.cpp
changed /CS/trunk/plugins/physics/bullet/bullet.cpp
changed /CS/trunk/libs/csgfx/shadervar.cpp
changed /CS/trunk/plugins/mesh/furmesh/object/furmeshproperties.cpp
changed /CS/trunk/plugins/physics2/bullet/portal.h
changed /CS/trunk/apps/walktest/walkcmd.cpp
changed /CS/trunk/plugins/physics2/bullet/bulletsector.cpp
/CS/trunk/plugins/culling/dynavis/dynavis.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/apps/tests/hairtest/hairtest.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/plugins/console/input/standard/csconin.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/apps/tools/lighter2/scene.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/libs/csgeom/triangulate.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/apps/tools/lighter2/maxrect.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/include/csutil/schedule.h Diff Switch to side-by-side view
Loading...
/CS/trunk/libs/csutil/win32/instpath.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/libs/csutil/schedule.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/apps/import/maya2spr/maya_mdl.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/plugins/mesh/genmesh/anim/gmeshanim.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/apps/import/md32spr/md32spr.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/include/iengine/mesh.h Diff Switch to side-by-side view
Loading...
/CS/trunk/plugins/physics2/bullet/physicsfactories.h Diff Switch to side-by-side view
Loading...
/CS/trunk/apps/tools/imagetool/imagetool.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/libs/csgfx/imagemanipulate.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/plugins/terraformer/pagingformer/pagingformer.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/libs/csgfx/imagememory.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/libs/csplugincommon/canvas/cursorconvert.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/plugins/physics/bullet/bullet.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/libs/csgfx/shadervar.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/plugins/mesh/furmesh/object/furmeshproperties.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/plugins/physics2/bullet/portal.h Diff Switch to side-by-side view
Loading...
/CS/trunk/apps/walktest/walkcmd.cpp Diff Switch to side-by-side view
Loading...
/CS/trunk/plugins/physics2/bullet/bulletsector.cpp Diff Switch to side-by-side view
Loading...
1 2 > >> (Page 1 of 2)