cppcheck analysis of mongodb_1.2.4-1.dsc
- ./util/file.h:38 [error] - Class FileInterface which is inherited by class File does not have a virtual destructor
- ./db/dbmessage.h:210 [possible error] - Memory leak: resp
- ./db/dbcommands.cpp:998 [possible error] - Memory leak: cc
- ./db/namespace.h:673 [possible error] - Memory leak: NamespaceIndex::ht
- ./db/query.cpp:842 [possible error] - Memory leak: cc
- ./db/query.cpp:641 [possible error] - Memory leak: DoQueryOp::findingStartCursor_
- ./dbtests/framework.cpp:310 [possible error] - Memory leak: e
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class GetMore does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class ReturnOneOfManyAndTail does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class TailNotAtEnd does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class EmptyTail does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class TailableDelete does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class TailableInsertDelete does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class OplogReplayMode does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class BasicCount does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class ArrayId does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class UnderscoreNs does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class EmptyFieldSpec does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class MultiNe does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class EmbeddedNe does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class AutoResetIndexCache does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class UniqueIndex does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class UniqueIndexPreexistingData does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class SubobjectInArray does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class Size does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class FullArray does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class InsideArray does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class IndexInsideArrayCorrect does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class SubobjArr does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class MinMax does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class FastCountIn does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class EmbeddedArray does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class DifferentNumbers does not have a virtual destructor
- ./dbtests/querytests.cpp:134 [error] - Class ClientBase which is inherited by class CollectionBase does not have a virtual destructor
- ./dbtests/updatetests.cpp:37 [error] - Class ClientBase which is inherited by class SetBase does not have a virtual destructor
- ./s/strategy_shard.cpp:68 [possible error] - Memory leak: cc
- ./scripting/engine_java.h:116 [possible error] - Memory leak: JavaJSImpl::_vmArgs
- ./shell/dbshell.cpp:102 [error] - Memory leak: buf
- ./util/message.cpp:135 [possible error] - Memory leak: PiggyBackData::_buf
- ./util/mmap_mm.cpp:42 [possible error] - Mismatching allocation and deallocation: MemoryMappedFile::view
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:55:03 +0000, based on results by cppcheck 1.41-modif