amule (clang-tools 1:19.0-63) - scan-build results

User:root@53779a79d8c8
Working Directory:/rootdir
Command Line:make -j 5
Clang Version:Debian clang version 19.1.5 (1)
Date:Mon Dec 16 22:28:23 2024

Bug Summary

Bug TypeQuantityDisplay?
All Bugs93
API
Argument with 'nonnull' attribute passed null4
Error handling
Value of 'errno' was not checked2
Logic error
Assigned value is garbage or undefined2
Called C++ object pointer is null3
Cast from non-struct type to struct type9
Dereference of null pointer2
Function call with invalid argument3
Out-of-bound access20
Out-of-bound array access4
Use fixed address1
Memory error
Double delete1
Memory leak9
Use-after-free3
Stream handling error
Invalid stream state1
Unix API
malloc() size overflow2
Unused code
Dead assignment1
Dead nested assignment2
Unreachable code24

Filter Results by File

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
APIArgument with 'nonnull' attribute passed nullrootdir/src/BitVector.hSetBuffer14230View Report
APIArgument with 'nonnull' attribute passed nullrootdir/src/RLE.cppDecode12113View Report
APIArgument with 'nonnull' attribute passed nullrootdir/src/utils/cas/html.ccreate_html908View Report
APIArgument with 'nonnull' attribute passed nullrootdir/src/RLE.cppDecode15123View Report
Logic errorAssigned value is garbage or undefinedrootdir/src/RLE.cppDecode14827View Report
Logic errorAssigned value is garbage or undefinedrootdir/src/webserver/src/WebServer.cppCDynStatisticImage142114View Report
Logic errorCalled C++ object pointer is nullrootdir/src/ExternalConnector.cppcommand_completion2374View Report
Logic errorCalled C++ object pointer is nullrootdir/src/extern/wxWidgets/listctrl.cppHasFlag4988View Report
Logic errorCalled C++ object pointer is nullrootdir/src/extern/wxWidgets/listctrl.cppResizeReportView565819View Report
Logic errorCast from non-struct type to struct typerootdir/src/libs/ec/cpp/ECTag.cppGetIPv4Data6461View Report
Logic errorCast from non-struct type to struct typerootdir/src/libs/ec/cpp/ECTag.cppGetIPv4Data6471View Report
Logic errorCast from non-struct type to struct typerootdir/src/libs/ec/cpp/ECTag.cppCECTag1131View Report
Logic errorCast from non-struct type to struct typerootdir/src/Packet.cppGetPacketSizeFromHeader1711View Report
Logic errorCast from non-struct type to struct typerootdir/src/libs/ec/cpp/ECTag.cppCECTag1141View Report
Logic errorCast from non-struct type to struct typerootdir/src/Packet.cppCPacket831View Report
Logic errorCast from non-struct type to struct typerootdir/src/Packet.cppGetHeader2271View Report
Logic errorCast from non-struct type to struct typerootdir/src/Packet.cppGetUDPHeader2391View Report
Logic errorCast from non-struct type to struct typerootdir/src/webserver/src/WebServer.cppCreateSpan10421View Report
Unused codeDead assignmentrootdir/src/webserver/src/php_syntree.cppphp_expr_eval13151View Report
Unused codeDead nested assignmentrootdir/src/ECSpecialMuleTags.cppApply5181View Report
Unused codeDead nested assignmentrootdir/src/ExternalConn.cppGet_EC_Response_Friend9861View Report
Logic errorDereference of null pointerrootdir/src/RLE.cppDecode12826View Report
Logic errorDereference of null pointerrootdir/src/ED2KLinkParser.cppGetLinksFilePath11720View Report
Memory errorDouble deleteusr/include/wx-3.2/wx/string.h~wxCStrData43889View Report
Logic errorFunction call with invalid argumentrootdir/src/webserver/src/WebServer.cppProcessHtmlRequest178922View Report
Logic errorFunction call with invalid argumentrootdir/src/amuled.cppInitGui1969View Report
Logic errorFunction call with invalid argumentrootdir/src/webserver/src/php_core_lib.cppCPhpFilter6348View Report
Stream handling errorInvalid stream staterootdir/src/utils/cas/configfile.creadconfig1218View Report
Memory errorMemory leakrootdir/src/BaseClient.cppSendSharedFilesOfDirectory29218View Report
Memory errorMemory leakrootdir/src/webserver/src/php_syntree.cppphp_add_native_class10535View Report
Memory errorMemory leakrootdir/src/webserver/src/php_syntree.cpparray_is_key_here7688View Report
Memory errorMemory leakrootdir/src/BaseClient.cppSendSecIdentStatePacket224918View Report
Memory errorMemory leakrootdir/src/webserver/src/php_syntree.cppphp_add_native_func10379View Report
Memory errorMemory leakrootdir/src/BaseClient.cppSendSharedDirectories28808View Report
Memory errorMemory leakrootdir/src/utils/aLinkCreator/src/ed2khash.cppSetED2KHashFromFile11420View Report
Memory errorMemory leakrootdir/src/BaseClient.cppConnectionEstablished171533View Report
Memory errorMemory leakrootdir/src/webserver/src/php_syntree.cppfunc_scope_init42617View Report
Logic errorOut-of-bound accessrootdir/src/utils/mkFileSum.cMD5Update22329View Report
Logic errorOut-of-bound accessrootdir/src/UserEvents.cppProcessEvent1557View Report
Logic errorOut-of-bound accessrootdir/src/UserEvents.cppGetCoreEnableVar944View Report
Logic errorOut-of-bound accessrootdir/src/UserEvents.cppGetKey884View Report
Logic errorOut-of-bound accessrootdir/src/UserEvents.cppIsGUICommandEnabled824View Report
Logic errorOut-of-bound accessrootdir/src/UserEvents.cppGetDisplayName704View Report
Logic errorOut-of-bound accessrootdir/src/libs/common/MD5Sum.cppMD5Update18720View Report
Logic errorOut-of-bound accessrootdir/src/amuleDlg.cppCamuleDlg32323View Report
Logic errorOut-of-bound accessrootdir/src/UserEvents.cppGetCoreCommandVar1004View Report
Logic errorOut-of-bound accessrootdir/src/webserver/src/php_amule_lib.cppphp_2_ec_tag44523View Report
Logic errorOut-of-bound accessrootdir/src/Logger.cppGetDebugCategory1846View Report
Logic errorOut-of-bound accessrootdir/src/RLE.cppDecode14830View Report
Logic errorOut-of-bound accessrootdir/src/UserEvents.cppProcessEvent1507View Report
Logic errorOut-of-bound accessrootdir/src/webserver/src/php_amule_lib.cppec_tag_2_php37725View Report
Logic errorOut-of-bound accessrootdir/src/UserEvents.cppGetGUIEnableVar1064View Report
Logic errorOut-of-bound accessrootdir/src/libs/common/MD5Sum.cppMD5Update17920View Report
Logic errorOut-of-bound accessrootdir/src/UserEvents.cppGetGUICommandVar1124View Report
Logic errorOut-of-bound accessrootdir/src/webserver/src/WebServer.cppCDynStatisticImage142712View Report
Logic errorOut-of-bound accessrootdir/src/UserEvents.cppIsCoreCommandEnabled764View Report
Logic errorOut-of-bound accessrootdir/src/utils/mkFileSum.cMD5Update21629View Report
Logic errorOut-of-bound array accessrootdir/src/libs/ec/cpp/ECSocket.cppRead17219View Report
Logic errorOut-of-bound array accessrootdir/src/EncryptedStreamSocket.cppSendNegotiatingData69626View Report
Logic errorOut-of-bound array accessrootdir/src/DownloadClient.cppunzip111743View Report
Logic errorOut-of-bound array accessrootdir/src/RLE.cppRealloc9619View Report
Unused codeUnreachable coderootdir/src/StatTree.cppHasVisibleChildren1101View Report
Unused codeUnreachable coderootdir/src/webserver/src/php_core_lib.cppphp_native_ngettext4531View Report
Unused codeUnreachable coderootdir/src/amuleAppCommon.cppCamuleAppCommon711View Report
Unused codeUnreachable coderootdir/src/webserver/src/php_core_lib.cppphp_native_substr2671View Report
Unused codeUnreachable coderootdir/src/Statistics.cppRecordHistory4341View Report
Unused codeUnreachable coderootdir/src/amule-gui.cppOnInit3011View Report
Unused codeUnreachable coderootdir/src/amule-remote-gui.cppOnPollTimer1761View Report
Unused codeUnreachable coderootdir/src/webserver/src/php_core_lib.cppphp_native_gettext_noop4201View Report
Unused codeUnreachable coderootdir/src/Proxy.cppprocess_send_command_request9251View Report
Unused codeUnreachable coderootdir/src/Preferences.cppTransferFromWindow4421View Report
Unused codeUnreachable coderootdir/src/SafeFile.cppGetIntTagValue5801View Report
Unused codeUnreachable coderootdir/src/KnownFile.cppClearPriority14591View Report
Unused codeUnreachable coderootdir/src/webserver/src/php_core_lib.cppphp_native_ngettext4451View Report
Unused codeUnreachable coderootdir/src/webserver/src/php_core_lib.cppphp_native_gettext4031View Report
Unused codeUnreachable coderootdir/src/webserver/src/php_core_lib.cppphp_native_substr2591View Report
Unused codeUnreachable coderootdir/src/amule-remote-gui.cppOnInit2651View Report
Unused codeUnreachable coderootdir/src/webserver/src/php_core_lib.cppphp_native_ngettext4371View Report
Unused codeUnreachable coderootdir/src/amuleAppCommon.cppCamuleAppCommon691View Report
Unused codeUnreachable coderootdir/src/amule-remote-gui.cppOnPollTimer1781View Report
Unused codeUnreachable coderootdir/src/Proxy.cppprocess_send_command_request11381View Report
Unused codeUnreachable coderootdir/src/amuleDlg.cppOnToolBarButton4541View Report
Unused codeUnreachable coderootdir/src/ClientTCPSocket.cppPacketReceived20231View Report
Unused codeUnreachable coderootdir/src/amuleAppCommon.cppCamuleAppCommon651View Report
Unused codeUnreachable coderootdir/src/amuleAppCommon.cppCamuleAppCommon611View Report
Logic errorUse fixed addressrootdir/src/ExternalConn.cppECStatusMsgSource186517View Report
Memory errorUse-after-freeusr/include/wx-3.2/wx/buffer.hDecRef20623View Report
Memory errorUse-after-freeusr/include/wx-3.2/wx/buffer.hdata16416View Report
Memory errorUse-after-freeusr/include/wx-3.2/wx/buffer.hdata16620View Report
Error handlingValue of 'errno' was not checkedrootdir/src/webserver/src/WebServer.cppProcessHtmlRequest178917View Report
Error handlingValue of 'errno' was not checkedrootdir/src/webserver/src/php_core_lib.cppCPhpFilter6345View Report
Unix APImalloc() size overflowusr/include/wx-3.2/wx/buffer.hwxCharTypeBuffer2811View Report
Unix APImalloc() size overflowusr/include/wx-3.2/wx/buffer.hStrCopy2411View Report