transmission-2.84 - scan-build results

User:srtate@cmpunix
Working Directory:/home/srtate/build/transmission-2.84
Command Line:make
Clang Version:Ubuntu clang version 3.6.1-svn232753-1~exp1 (branches/release_36) (based on LLVM 3.6.1)
Date:Wed Mar 25 13:43:04 2015

Bug Summary

Bug TypeQuantityDisplay?
All Bugs30
API
Argument with 'nonnull' attribute passed null3
Dead store
Dead assignment6
Dead increment4
Logic error
Dereference of null pointer8
Out-of-bound access1
Result of operation is garbage or undefined2
Security
Potential insecure memory buffer bounds restriction in call 'strcat'1
Potential insecure memory buffer bounds restriction in call 'strcpy'3
Unix API
malloc() size overflow2

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
APIArgument with 'nonnull' attribute passed nulllibtransmission /utils-test.ctest_utf81393View Report
APIArgument with 'nonnull' attribute passed nulllibtransmission /peer-mgr.crechokeDownloads296112View Report
APIArgument with 'nonnull' attribute passed nulllibtransmission /variant.ctr_variant_string_set_string12879View Report
Dead storeDead assignmentgtk /tr-core.cadd_file12821View Report
Dead storeDead assignmentthird-party /dht /dht.cnew_node8491View Report
Dead storeDead assignmentthird-party /libutp /utp.cppUTP_ProcessIncoming19631View Report
Dead storeDead assignmentthird-party /libutp /utp_utils.cppGetMicroseconds1401View Report
Dead storeDead assignmentgtk /tr-window.cgtr_window_new7351View Report
Dead storeDead assignmentthird-party /libutp /utp_utils.cppGetMicroseconds1341View Report
Dead storeDead incrementlibtransmission /torrent.ctorrentInitFromInfo8021View Report
Dead storeDead incrementlibtransmission /torrent.ctorrentInitFromInfo7981View Report
Dead storeDead incrementlibtransmission /handshake.cbuildHandshakeMessage2241View Report
Dead storeDead incrementlibtransmission /torrent.ctorrentInitFromInfo7941View Report
Logic errorDereference of null pointerlibtransmission /announcer.con_announce_done114821View Report
Logic errorDereference of null pointerlibtransmission /variant-test.cstripWhitespace3115View Report
Logic errorDereference of null pointerlibtransmission /fdlimit.ccached_file_close3177View Report
Logic errorDereference of null pointerlibtransmission /magnet-test.ctest1333View Report
Logic errorDereference of null pointergtk /details.cinitPeerRow12953View Report
Logic errorDereference of null pointerlibtransmission /announcer.con_announce_done115926View Report
Logic errorDereference of null pointerthird-party /dht /dht.cparse_message289527View Report
Logic errorDereference of null pointerlibtransmission /utils-test.ctest_numbers1754View Report
Logic errorOut-of-bound accesslibtransmission /tr-getopt-test.crun_test434View Report
SecurityPotential insecure memory buffer bounds restriction in call 'strcat'third-party /dht /dht.cdht_dump_tables16201View Report
SecurityPotential insecure memory buffer bounds restriction in call 'strcpy'third-party /dht /dht.cdht_dump_tables16221View Report
SecurityPotential insecure memory buffer bounds restriction in call 'strcpy'libtransmission /jsonsl.cjsonsl_jpr_new7431View Report
SecurityPotential insecure memory buffer bounds restriction in call 'strcpy'libtransmission /jsonsl.cjsonsl_jpr_new7771View Report
Logic errorResult of operation is garbage or undefinedthird-party /libutp /utp.cppset_version2567View Report
Logic errorResult of operation is garbage or undefinedlibtransmission /handshake.ccanRead10544View Report
Unix APImalloc() size overflowlibtransmission /jsonsl.cjsonsl_jpr_match_state_init8701View Report
Unix APImalloc() size overflowlibtransmission /jsonsl.cjsonsl_jpr_new7411View Report