cppcheck analysis of mongodb_1.6.5-3.dsc
- ./db/mr.cpp:696 [error] - Passing value 0 to log() leads to undefined result
- ./db/repl/rs_sync.cpp:305 [error] - Passing value 0 to log() leads to undefined result
- bson/util/builder.h:220 [error] - instance of "append" object destroyed immediately
- ./bson/util/builder.h:220 [error] - instance of "append" object destroyed immediately
- ./bson/bsonobjbuilder.h:218 [error] - instance of "append" object destroyed immediately
- ./bson/bsonobjbuilder.h:220 [error] - instance of "append" object destroyed immediately
- ./bson/bsonobjbuilder.h:241 [error] - instance of "append" object destroyed immediately
- ./bson/bsonobjbuilder.h:243 [error] - instance of "append" object destroyed immediately
- ./bson/bsonobjbuilder.h:245 [error] - instance of "append" object destroyed immediately
- ./bson/bsonobjbuilder.h:689 [error] - instance of "append" object destroyed immediately
- ./bson/bsonobjbuilder.h:699 [error] - instance of "append" object destroyed immediately
- ./bson/bsoninlines.h:95 [error] - instance of "append" object destroyed immediately
- ./db/diskloc.h:51 [error] - instance of "Null" object destroyed immediately
- ./dbtests/pairingtests.cpp:98 [error] - instance of "ReplPair" object destroyed immediately
- ./dbtests/pairingtests.cpp:101 [error] - instance of "ReplPair" object destroyed immediately
- ./dbtests/pairingtests.cpp:104 [error] - instance of "ReplPair" object destroyed immediately
- ./dbtests/pairingtests.cpp:107 [error] - instance of "ReplPair" object destroyed immediately
- ./s/cursors.cpp:256 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./s/d_migrate.cpp:543 [error] - Passing value 0 to log() leads to undefined result
- ./shell/dbshell.cpp:252 [error] - Memory leak: buf
- ./tools/tool.cpp:405 [error] - Resource leak: file
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Tue, 22 Mar 2011 06:58:11 +0000, based on results by cppcheck 1.46