cppcheck analysis of amule_2.2.6+debian0-8.dsc
- ./src/EncryptedDatagramSocket.cpp:305 [error] - Memory leak: cryptedBuffer
- ./src/ExternalConnector.cpp:315 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./src/ExternalConnector.cpp:375 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./src/KnownFile.cpp:242 [error] - Invalid iterator: it
- ./src/MemFile.cpp:118 [error] - Common realloc mistake: "m_buffer" nulled but not freed upon failure
- ./src/OtherFunctions.cpp:1135 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./src/Parser.cpp:1232 [error] - Memory leak: yyptr
- ./src/Proxy.cpp:1407 [error] - Mismatching allocation and deallocation: bufUDP
- ./src/SHAHashSet.cpp:409 [error] - instance of "CAICHHash" object destroyed immediately
- ./src/Scanner.cpp:943 [error] - Common realloc mistake: "psz" nulled but not freed upon failure
- ./src/Scanner.cpp:955 [error] - Common realloc mistake: "psz" nulled but not freed upon failure
- ./src/kademlia/kademlia/SearchManager.cpp:87 [style] - The iterator incrementing is suspicious - it is incremented at line 87 and then at line 77 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./src/utils/aLinkCreator/src/ed2khash.cpp:163 [error] - Common realloc mistake: "tmpCharHash" nulled but not freed upon failure
- ./src/utils/cas/lines.c:52 [error] - Common realloc mistake: "p" nulled but not freed upon failure
- ./src/utils/cas/lines.c:57 [error] - Memory leak: p
- ./src/webserver/src/WebServer.cpp:1775 [error] - Resource leak: f
- ./src/webserver/src/WebServer.cpp:1796 [error] - instance of "CPhpFilter" object destroyed immediately
- ./src/webserver/src/php_core_lib.cpp:591 [error] - Resource leak: f
- ./src/webserver/src/php_parser.c:2016 [error] - Memory leak: yyptr
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:18 +0000, based on results by cppcheck 1.46