libreswan - scan-build results

User:build@swantest.libreswan.fi
Working Directory:/home/build/libreswan
Command Line:make base
Clang Version:clang version 8.0.0 (Fedora 8.0.0-3.fc30)
Date:Wed Sep 9 19:33:37 2020

Bug Summary

Bug TypeQuantityDisplay?
All Bugs47
API
Argument with 'nonnull' attribute passed null5
Dead store
Dead assignment16
Dead increment1
Dead initialization1
Logic error
Assigned value is garbage or undefined1
Branch condition evaluates to a garbage value1
Dereference of null pointer18
Result of operation is garbage or undefined1
Uninitialized argument value2
Memory error
Use of zero allocated1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
APIArgument with 'nonnull' attribute passed nullprograms/pluto/ikev1_spdb_struct.cparse_secctx_attr14543View Report
APIArgument with 'nonnull' attribute passed nullprograms/pluto/ikev2_ts.cv2_process_ts_request103658View Report
APIArgument with 'nonnull' attribute passed nullprograms/pluto/send.csend_chunks14217View Report
APIArgument with 'nonnull' attribute passed nulllib/libipsecconf/confread.cload_conn108037View Report
APIArgument with 'nonnull' attribute passed nulllib/libswan/netlink_attrib.cnl_addattr_l435View Report
Logic errorAssigned value is garbage or undefinedprograms/pluto/packet.cpbs_out_struct259529View Report
Logic errorBranch condition evaluates to a garbage valueprograms/pluto/kernel.csetup_half_ipsec_sa220822View Report
Dead storeDead assignmentprograms/pluto/packet.cpbs_out_struct25641View Report
Dead storeDead assignmentprograms/pluto/packet.cpbs_out_struct25601View Report
Dead storeDead assignmentprograms/pluto/packet.cpbs_out_struct24871View Report
Dead storeDead assignmentprograms/pluto/packet.cpbs_out_struct24791View Report
Dead storeDead assignmentprograms/pluto/packet.cpbs_out_struct24711View Report
Dead storeDead assignmentprograms/pluto/packet.cpbs_in_struct20861View Report
Dead storeDead assignmentprograms/pluto/packet.cpbs_in_struct20791View Report
Dead storeDead assignmentprograms/pluto/kernel.csetup_half_ipsec_sa21491View Report
Dead storeDead assignmentprograms/pluto/kernel.csetup_half_ipsec_sa21451View Report
Dead storeDead assignmentprograms/pluto/kernel.csetup_half_ipsec_sa21221View Report
Dead storeDead assignmentprograms/pluto/ikev1.cikev1_decode_peer_id32221View Report
Dead storeDead assignmentprograms/pluto/state.cfmt_state22681View Report
Dead storeDead assignmentprograms/pluto/crypto.cshow_ike_alg_connection1211View Report
Dead storeDead assignmentprograms/pluto/ikev2_liveness.cschedule_liveness691View Report
Dead storeDead assignmentlib/libswan/ip_range.cttorange1781View Report
Dead storeDead assignmentlib/libswan/proposals.cjam_proposal4271View Report
Dead storeDead incrementprograms/pluto/kernel_xfrm.cnetlink_add_sa16171View Report
Dead storeDead initializationprograms/pluto/ikev2_child.cikev2_child_sa_respond731View Report
Logic errorDereference of null pointerprograms/cavp/cavp_parser.ccavp_parser23113View Report
Logic errorDereference of null pointerprograms/cavp/cavp_parser.ccavp_parser21713View Report
Logic errorDereference of null pointerprograms/cavp/cavp_parser.cnext_state9013View Report
Logic errorDereference of null pointerprograms/cavp/cavp_parser.cnext_state8615View Report
Logic errorDereference of null pointerprograms/cavp/cavp_parser.cnext_state7415View Report
Logic errorDereference of null pointerprograms/pluto/kernel.cteardown_half_ipsec_sa231542View Report
Logic errorDereference of null pointerprograms/pluto/ikev2_parent.cikev2_child_ike_inR41566View Report
Logic errorDereference of null pointerprograms/pluto/ikev2_parent.cikev2_child_ike_inR41565View Report
Logic errorDereference of null pointerprograms/pluto/ikev2.ccomplete_v2_state_transition368419View Report
Logic errorDereference of null pointerprograms/pluto/retry.cretransmit_v2_msg21114View Report
Logic errorDereference of null pointerprograms/pluto/retry.cretransmit_v2_msg16010View Report
Logic errorDereference of null pointerprograms/pluto/timer.cevent_delete5385View Report
Logic errorDereference of null pointerprograms/pluto/list_entry.cremove_list_entry15715View Report
Logic errorDereference of null pointerprograms/pluto/list_entry.cinsert_list_entry12821View Report
Logic errorDereference of null pointerprograms/pluto/list_entry.cinsert_list_entry1105View Report
Logic errorDereference of null pointerprograms/pluto/list_entry.clist_entry895View Report
Logic errorDereference of null pointerprograms/pluto/pending.cunpend29016View Report
Logic errorDereference of null pointerprograms/pluto/ikev2_ts.cv2_process_ts_request97018View Report
Logic errorResult of operation is garbage or undefinedprograms/pluto/ikev2_message.cikev2_reassemble_fragments74615View Report
Logic errorUninitialized argument valueprograms/pluto/kernel.csetup_half_ipsec_sa219823View Report
Logic errorUninitialized argument valueprograms/pluto/kernel.craw_eroute124234View Report
Memory errorUse of zero allocatedOBJ.linux.x86_64/lib/libipsecconf/lex.yy.cyy_get_next_buffer174825View Report