quick-libreswan-2 - scan-build results

User:build@swantest.libreswan.fi
Working Directory:/home/build/quick-libreswan-2
Command Line:make -j4
Clang Version:clang version 13.0.0 (Fedora 13.0.0-3.fc35)
Date:Sat Jan 1 20:57:14 2022

Bug Summary

Bug TypeQuantityDisplay?
All Bugs44
API
Argument with 'nonnull' attribute passed null4
Logic error
Assigned value is garbage or undefined1
Dereference of null pointer25
Result of operation is garbage or undefined1
Uninitialized argument value2
Unused code
Dead assignment8
Dead increment2
Dead initialization1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
APIArgument with 'nonnull' attribute passed nulllib/libswan/netlink_attrib.cnl_addattr_l436View Report
APIArgument with 'nonnull' attribute passed nullprograms/pluto/ikev2_ts.cv2_process_request_ts_payloads140566View Report
APIArgument with 'nonnull' attribute passed nulllib/libipsecconf/confread.cload_conn108654View Report
APIArgument with 'nonnull' attribute passed nullprograms/pluto/plutomain.ccreate_lock24222View Report
Logic errorAssigned value is garbage or undefinedprograms/pluto/packet.cpbs_out_struct262035View Report
Unused codeDead assignmentprograms/pluto/keys.cauthsig_and_log_using_pubkey5181View Report
Unused codeDead assignmentprograms/pluto/pluto_constants.cjam_policy4001View Report
Unused codeDead assignmentprograms/pluto/crypto.cshow_ike_alg_connection1211View Report
Unused codeDead assignmentprograms/pluto/ipsec_doi.cjam_child_sa_details3141View Report
Unused codeDead assignmentprograms/pluto/ikev1.cikev1_decode_peer_id32451View Report
Unused codeDead assignmentprograms/pluto/ikev2_liveness.cschedule_liveness691View Report
Unused codeDead assignmentprograms/pluto/kernel.csetup_half_ipsec_sa23301View Report
Unused codeDead assignmentprograms/pluto/kernel.csetup_half_ipsec_sa23071View Report
Unused codeDead incrementprograms/pluto/kernel_xfrm.cnetlink_add_sa16171View Report
Unused codeDead incrementprograms/pluto/iface_udp.cfind_likely_sender5041View Report
Unused codeDead initializationprograms/pluto/connections.cextract_end8961View Report
Logic errorDereference of null pointerprograms/pluto/ikev2_ike_auth.cikev2_in_IKE_SA_INIT_R_or_IKE_INTERMEDIATE_R_out_IKE_AUTH_I_signature_continue49457View Report
Logic errorDereference of null pointerprograms/pluto/list_entry.cinsert_list_entry1106View Report
Logic errorDereference of null pointerprograms/pluto/list_entry.cinsert_list_entry12828View Report
Logic errorDereference of null pointerprograms/pluto/ikev2.csuccess_v2_state_transition250647View Report
Logic errorDereference of null pointerprograms/pluto/host_pair.cfind_host_pair18623View Report
Logic errorDereference of null pointerprograms/pluto/kernel.cteardown_half_ipsec_sa249333View Report
Logic errorDereference of null pointerprograms/pluto/ikev2.ccomplete_v2_state_transition290521View Report
Logic errorDereference of null pointerlib/libswan/ttoaddress.cttoaddress_dns42111View Report
Logic errorDereference of null pointerprograms/pluto/list_entry.clist_entry896View Report
Logic errorDereference of null pointerprograms/cavp/cavp_parser.ccavp_parser21717View Report
Logic errorDereference of null pointerprograms/cavp/cavp_parser.cnext_state8617View Report
Logic errorDereference of null pointerprograms/pluto/host_pair.cfind_host_pair19624View Report
Logic errorDereference of null pointerprograms/pluto/ikev2_cp.cikev2_ship_cp_attr_ip6719View Report
Logic errorDereference of null pointerprograms/pluto/ikev1.cprocess_packet_tail210620View Report
Logic errorDereference of null pointerprograms/pluto/connections.cfind_v1_client_connection38918View Report
Logic errorDereference of null pointerprograms/pluto/timer.cevent_delete5495View Report
Logic errorDereference of null pointerprograms/cavp/cavp_parser.cnext_state7417View Report
Logic errorDereference of null pointerprograms/pluto/ikev2_ts.cv2_process_request_ts_payloads122227View Report
Logic errorDereference of null pointerprograms/cavp/cavp_parser.cnext_state9013View Report
Logic errorDereference of null pointerprograms/cavp/cavp_parser.ccavp_parser23117View Report
Logic errorDereference of null pointerprograms/pluto/ikev1_quick.cquick_inI1_outR1_tail108230View Report
Logic errorDereference of null pointerprograms/pluto/pending.cunpend34417View Report
Logic errorDereference of null pointerprograms/pluto/ikev1.cprocess_packet_tail217524View Report
Logic errorDereference of null pointerprograms/pluto/ikev2_ts.cv2_process_request_ts_payloads132736View Report
Logic errorDereference of null pointerprograms/pluto/list_entry.cremove_list_entry15735View Report
Logic errorResult of operation is garbage or undefinedprograms/pluto/ikev2_peer_id.cikev2_initiator_decode_responder_id30817View Report
Logic errorUninitialized argument valueprograms/pluto/ikev2_message.cikev2_decrypt_msg10896View Report
Logic errorUninitialized argument valueprograms/pluto/connections.crefine_host_connection_on_responder328035View Report