cppcheck analysis of cadabra_1.26-3.1.dsc
- ./src/main.cc:297 [error] - Deallocating a deallocated pointer: orig_fd
- ./src/main.cc:298 [error] - Deallocating a deallocated pointer: temp_fd
- ./src/modules/algebra.cc:1289 [error] - Uninitialized variable: num1
- ./src/modules/algebra.cc:1290 [error] - Uninitialized variable: num2
- ./src/modules/algebra.cc:1413 [error] - Uninitialized variable: num1
- ./src/modules/algebra.cc:1414 [error] - Uninitialized variable: num2
- ./src/modules/field_theory.cc:321 [error] - Same iterator is used with both ind_free and ind_dummy
- ./src/modules/xperm.c:961 [error] - Common realloc mistake: "GS2" nulled but not freed upon failure
- ./src/modules/xperm.c:962 [error] - Common realloc mistake: "stab" nulled but not freed upon failure
- ./src/modules/xperm.c:1117 [error] - Common realloc mistake: "stab" nulled but not freed upon failure
- ./src/modules/xperm.c:1865 [error] - Common realloc mistake: "ALPHA" nulled but not freed upon failure
- ./src/modules/xperm.c:2125 [error] - Memory leak: pointer
- ./src/modules/xperm_new.c:977 [error] - Common realloc mistake: "GS2" nulled but not freed upon failure
- ./src/modules/xperm_new.c:978 [error] - Common realloc mistake: "stab" nulled but not freed upon failure
- ./src/modules/xperm_new.c:1131 [error] - Common realloc mistake: "stab" nulled but not freed upon failure
- ./src/modules/xperm_new.c:2081 [error] - Common realloc mistake: "ALPHA" nulled but not freed upon failure
- ./src/modules/xperm_new.c:2399 [error] - Memory leak: pointer
- ./src/storage.cc:1604 [error] - Uninitialized variable: num1
- ./src/storage.cc:1605 [error] - Uninitialized variable: num2
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Wed, 23 Mar 2011 06:58:02 +0000, based on results by cppcheck 1.46