xmms2-devel - scan-build results

User:
Working Directory:/home/travis/build/xmms2/xmms2-devel
Command Line:./waf build --notests
Clang Version:clang version 4.0.1-svn305264-1~exp1 (branches/release_40)
Date:

Bug Summary

Bug TypeQuantityDisplay?
All Bugs63
Dead store
Dead assignment19
Dead increment3
Logic error
Array subscript is undefined1
Assigned value is garbage or undefined5
Dereference of null pointer6
Dereference of undefined pointer value1
Result of operation is garbage or undefined1
Uninitialized argument value13
Memory Error
Memory leak4
Use-after-free6
Unix API
Allocator sizeof operand mismatch1
Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)3

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Unix APIAllocator sizeof operand mismatchsrc/plugins/asf/libasf/parse.casf_parse_header2301View Report
Logic errorArray subscript is undefinedsrc/tools/sqlite2s4/collsqlite.crestore_callback17812View Report
Logic errorAssigned value is garbage or undefinedsrc/lib/s4/src/tools/s4/print.cprint_row9321View Report
Logic errorAssigned value is garbage or undefinedsrc/lib/s4/src/lib/s4.c_result_to_pairs30525View Report
Logic errorAssigned value is garbage or undefinedsrc/plugins/jack/jack.cxmms_jack_process42121View Report
Logic errorAssigned value is garbage or undefinedsrc/plugins/mp4/mp4ff/mp4util.cmp4ff_write_int32761View Report
Logic errorAssigned value is garbage or undefinedsrc/clients/nycli/cli_context.ccli_context_event_loop_select55827View Report
Dead storeDead assignmentsrc/plugins/ofa/ofa.cxmms_ofa_init1241View Report
Dead storeDead assignmentsrc/plugins/airplay/raop_client.craop_rtsp_announce2751View Report
Dead storeDead assignmentsrc/clients/lib/xmmsclient/collparser.ccoll_parse_prepare3901View Report
Dead storeDead assignmentsrc/clients/lib/xmmsclient/visualization/udp.cread_do_udp2251View Report
Dead storeDead assignmentsrc/plugins/airplay/raop_client.craop_rtsp_setup3181View Report
Dead storeDead assignmentsrc/plugins/midsquash/midsquash.cxmms_midsquash_init2141View Report
Dead storeDead assignmentsrc/tools/sqlite2s4/main.cmain1661View Report
Dead storeDead assignmentsrc/plugins/airplay/raop_client.craop_rtsp_record3331View Report
Dead storeDead assignmentsrc/plugins/fluidsynth/fluidsynth.cxmms_fluidsynth_plugin_setup1531View Report
Dead storeDead assignmentsrc/plugins/mp4/mp4ff/mp4atom.cmp4ff_read_mp4a3711View Report
Dead storeDead assignmentsrc/plugins/mp4/mp4ff/mp4tagupdate.cfind_atom_v24521View Report
Dead storeDead assignmentsrc/xmms/main.cmain7231View Report
Dead storeDead assignmentsrc/plugins/airplay/raop_client.craop_rtsp_announce2821View Report
Dead storeDead assignmentsrc/plugins/airplay/raop_client.craop_rtsp_announce2771View Report
Dead storeDead assignmentsrc/plugins/airplay/raop_client.craop_rtsp_teardown3871View Report
Dead storeDead assignmentsrc/plugins/airplay/raop_client.craop_rtsp_set_params3671View Report
Dead storeDead assignmentsrc/plugins/airplay/raop_client.craop_rtsp_announce2791View Report
Dead storeDead assignmentsrc/tools/sqlite2s4/main.cmain1691View Report
Dead storeDead assignmentsrc/plugins/airplay/raop_client.craop_rtsp_flush3511View Report
Dead storeDead incrementsrc/plugins/apefile/apefile.cxmms_apefile_init_demuxer4401View Report
Dead storeDead incrementsrc/plugins/asf/libasf/data.casf_data_read_payload_fields741View Report
Dead storeDead incrementsrc/plugins/asf/libasf/data.casf_data_read_packet_fields511View Report
Logic errorDereference of null pointertests/client/t_command_trie.c__testcase_test_match_exact_subtrie1824View Report
Logic errorDereference of null pointersrc/plugins/vocoder/pvocoder.cpvocoder_close18519View Report
Logic errorDereference of null pointertests/client/t_command_trie.c__testcase_test_match_auto_unique_complete1324View Report
Logic errorDereference of null pointertests/client/t_command_trie.c__testcase_test_match_exact_action1574View Report
Logic errorDereference of null pointersrc/plugins/mp4/mp4ff/mp4atom.cmp4ff_read_alac40525View Report
Logic errorDereference of null pointersrc/clients/nycli/playlist_positions.cplaylist_positions_foreach1317View Report
Logic errorDereference of undefined pointer valuesrc/clients/nycli/command.ccommand_arg_time_get47414View Report
Memory ErrorMemory leaksrc/lib/s4/src/lib/relation.c_s4_add24111View Report
Memory ErrorMemory leaksrc/plugins/asf/libasf/parse.casf_parse_header26420View Report
Memory ErrorMemory leaksrc/plugins/asf/libasf/parse.casf_parse_headerext12268View Report
Memory ErrorMemory leaksrc/plugins/asf/libasf/parse.casf_parse_header23859View Report
Logic errorResult of operation is garbage or undefinedsrc/plugins/wavpack/wavpack.cxmms_wavpack_read3253View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)src/lib/s4/src/lib/sourcepref.cs4_sourcepref_create653View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)src/lib/s4/src/lib/pattern.c_copy_str2317View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)src/plugins/mp4/mp4ff/mp4tagupdate.cmembuffer_detach18134View Report
Logic errorUninitialized argument valuesrc/xmms/fetchspec.cxmms_fetch_spec_new_cluster41053View Report
Logic errorUninitialized argument valuesrc/plugins/mp4/mp4ff/mp4sample.cmp4ff_sample_to_offset1266View Report
Logic errorUninitialized argument valuesrc/tools/sqlite2s4/collsqlite.crestore_callback1714View Report
Logic errorUninitialized argument valuesrc/tools/sqlite2s4/main.csource_callback804View Report
Logic errorUninitialized argument valuesrc/tools/sqlite2s4/collsqlite.coperator_callback2524View Report
Logic errorUninitialized argument valuesrc/tools/sqlite2s4/collsqlite.crestore_callback17819View Report
Logic errorUninitialized argument valuesrc/plugins/daap/daap_mdns_avahi.cdaap_mdns_setup2748View Report
Logic errorUninitialized argument valuesrc/tools/sqlite2s4/collsqlite.cattribute_callback2154View Report
Logic errorUninitialized argument valuesrc/tools/sqlite2s4/main.cmedia_callback1114View Report
Logic errorUninitialized argument valuesrc/tools/sqlite2s4/main.cmedia_callback1219View Report
Logic errorUninitialized argument valuesrc/xmms/medialib_query_result.cresult_to_xmmsv3215View Report
Logic errorUninitialized argument valuesrc/clients/nycli/commands_playlist.ccli_list34510View Report
Logic errorUninitialized argument valuesrc/lib/xmmstypes/xmmsv_dict.cxmmsv_dict_iter_find7158View Report
Memory ErrorUse-after-freesrc/lib/xmmstypes/xlist.cx_list_remove21916View Report
Memory ErrorUse-after-freesrc/lib/xmmstypes/xmmsv_dict.c_xmmsv_dict_free2436View Report
Memory ErrorUse-after-freesrc/clients/lib/xmmsclient/result.cxmmsc_result_run57627View Report
Memory ErrorUse-after-freesrc/lib/xmmstypes/xmmsv_list.c_xmmsv_list_free876View Report
Memory ErrorUse-after-freesrc/clients/lib/xmmsclient/result.cxmmsc_result_run56527View Report
Memory ErrorUse-after-freesrc/lib/xmmstypes/xlist.cx_list_remove_all24611View Report