shishi - scan-build results

User:root@runner-xxurkrix-project-38392256-concurrent-0
Working Directory:/builds/gsasl/shishi
Command Line:make V=1
Clang Version:clang version 14.0.0 (Fedora 14.0.0-1.fc36)
Date:Mon Aug 8 06:58:02 2022

Bug Summary

Bug TypeQuantityDisplay?
All Bugs28
Logic error
Dereference of null pointer3
Garbage return value1
Memory error
Double free2
Memory leak3
Use-after-free1
Unused code
Dead assignment15
Dead increment1
Dead nested assignment2

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Unused codeDead assignmentlib/crypto-des.craw_des_checksum0551View Report
Unused codeDead assignmentsrc/kdc.casreq13681View Report
Unused codeDead assignmentdb/file.cremove_keys3361View Report
Unused codeDead assignmentlib/crypto-des.craw_des_checksum11091View Report
Unused codeDead assignmentlib/crypto-des.craw_des_checksum11131View Report
Unused codeDead assignmentlib/keys.cshishi_keys_from_file2731View Report
Unused codeDead assignmentexamples/server.cauth1641View Report
Unused codeDead assignmentexamples/server.cauth1591View Report
Unused codeDead assignmentsrc/shisa.cmain5151View Report
Unused codeDead assignmentlib/crypto-des.craw_des_checksum0631View Report
Unused codeDead assignmentexamples/server.cauth1691View Report
Unused codeDead assignmentlib/keys.cshishi_keys_from_file2581View Report
Unused codeDead assignmentlib/crypto-des.craw_des_checksum11051View Report
Unused codeDead assignmentlib/crypto-des.craw_des_checksum0591View Report
Unused codeDead assignmentlib/keys.cshishi_keys_for_serverrealm_in_file3131View Report
Unused codeDead incrementlib/keytab.cshishi_keys_add_keytab_mem2231View Report
Unused codeDead nested assignmentsrc/kdc.casreq11761View Report
Unused codeDead nested assignmentlib/cfg.cshishi_cfg2651View Report
Logic errorDereference of null pointersrc/shishi_cmd.cupdate_arg63220View Report
Logic errorDereference of null pointersrc/shisa.cprintdbkey10243View Report
Logic errorDereference of null pointerlib/keytab.cshishi_keys_add_keytab_mem14832View Report
Memory errorDouble freedb/fileutil.cls_145817View Report
Memory errorDouble freedb/fileutil.cls50016View Report
Logic errorGarbage return valuelib/keytab.cshishi_keys_to_keytab_mem5467View Report
Memory errorMemory leaklib/gl/time_rz.cmktime_z30931View Report
Memory errorMemory leaklib/gl/time_rz.clocaltime_rz27729View Report
Memory errorMemory leaklib/gl/time_rz.cset_tz22326View Report
Memory errorUse-after-freedb/file.cshisa_file_key_add61224View Report