cppcheck analysis of elektra_0.7.0-3.dsc
- ./src/backends/filesys/filesys.c:586 [error] - Common realloc mistake: "comment" nulled but not freed upon failure
- ./src/backends/filesys/filesys.c:622 [error] - Common realloc mistake: "data" nulled but not freed upon failure
- ./src/backends/passwd/passwd.c:218 [error] - Memory leak: username
- ./src/backends/passwd/passwd.c:228 [error] - Dangerous usage of 'name' (strncpy doesn't always 0-terminate it)
- ./src/bindings/cpp/kdb.cpp:66 [error] - Mismatching allocation and deallocation: c
- ./src/kdb/kdb-tool.c:91 [error] - Common realloc mistake: "argFile" nulled but not freed upon failure
- ./src/kdb/kdb-tool.c:96 [error] - Common realloc mistake: "argComment" nulled but not freed upon failure
- ./src/kdb/kdb-tool.c:171 [error] - Common realloc mistake: "argKeyName" nulled but not freed upon failure
- ./src/kdb/kdb-tool.c:179 [error] - Common realloc mistake: "argKeyName" nulled but not freed upon failure
- ./src/kdb/kdb-tool.c:189 [error] - Common realloc mistake: "argData" nulled but not freed upon failure
- ./src/kdb/kdb-tool.c:766 [error] - Common realloc mistake: "argData" nulled but not freed upon failure
- ./src/kdb/kdb-tool.c:1052 [error] - Deallocating a deallocated pointer: buffer
- ./tests/test_key.c:987 [error] - Array 'testBinary[15]' index 15 out of bounds
- ./tests/test_key.c:1155 [error] - Array 'binaryData[19]' index 19 out of bounds
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:13:51 +0000, based on results by cppcheck 1.46