cppcheck analysis of cadabra_1.25-2.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:1283 [error] - Uninitialized variable: num1
- ./src/modules/algebra.cc:1284 [error] - Uninitialized variable: num2
- ./src/modules/algebra.cc:1406 [error] - Uninitialized variable: num1
- ./src/modules/algebra.cc:1407 [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:1593 [error] - Uninitialized variable: num1
- ./src/storage.cc:1594 [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 Mon, 20 Dec 2010 21:12:50 +0000, based on results by cppcheck 1.46