coreboot_scanbuild - scan-build results

User:coreboot@9bbe52bbb28b
Working Directory:/home/coreboot/slave-root/workspace/coreboot_scanbuild
Command Line:make -j 128 DOTCONFIG=/tmp/tmp.Ea6gDwFdoA obj=/cb-build/coreboot_scanbuild.0/temp objutil=/cb-build/coreboot_scanbuild.0/sharedutils tools
Clang Version:coreboot toolchain v65718760fa 2020-02-04 - clang version 9.0.0 (https://review.coreboot.org/coreboot e921911f1008169d236c4d2bd3e169a176cdf45c) (based on LLVM 9.0.0)
Date:Fri Jul 10 10:00:01 2020

Bug Summary

Bug TypeQuantityDisplay?
All Bugs56
API
Argument with 'nonnull' attribute passed null5
Dead store
Dead assignment6
Dead increment3
Logic error
Array subscript is undefined3
Assigned value is garbage or undefined6
Dereference of null pointer1
Result of operation is garbage or undefined4
Stack address stored into global variable4
Uninitialized argument value1
Memory error
Bad free1
Memory leak16
Offset free1
Use of zero allocated1
Unix API
Allocator sizeof operand mismatch4

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Unix APIAllocator sizeof operand mismatchhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/cgpt/cgpt_common.cGptLoad1691View Report
Unix APIAllocator sizeof operand mismatchhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/cgpt/cgpt_common.cGptLoad1681View Report
Unix APIAllocator sizeof operand mismatchhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/gpt_misc.cAllocAndReadGptData361View Report
Unix APIAllocator sizeof operand mismatchhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/gpt_misc.cAllocAndReadGptData351View Report
APIArgument with 'nonnull' attribute passed nullhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/futility.csimple_basename2873View Report
APIArgument with 'nonnull' attribute passed nullhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/cmd_vbutil_kernel.cReadOldKPartFromFileOrDie17219View Report
APIArgument with 'nonnull' attribute passed nullhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/amdfwtool/amdfwtool.ccopy_blob59177View Report
APIArgument with 'nonnull' attribute passed nullhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/tpm_lite/tlcl.cTlclWrite6306View Report
APIArgument with 'nonnull' attribute passed nullhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/file_type_rwsig.cft_sign_rwsig31314View Report
Logic errorArray subscript is undefinedcb-build/coreboot_scanbuild.0/sharedutils/cbfstool/fmd_scanner.cyylex74230View Report
Logic errorArray subscript is undefinedcb-build/coreboot_scanbuild.0/sharedutils/sconfig/lex.yy.cyylex81030View Report
Logic errorArray subscript is undefinedcb-build/coreboot_scanbuild.0/sharedutils/bincfg/bincfg.lex.cyylex77130View Report
Logic errorAssigned value is garbage or undefinedcb-build/coreboot_scanbuild.0/sharedutils/cbfstool/fmd_scanner.cyylex79029View Report
Logic errorAssigned value is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/cbfstool/elfheaders.cwrite_phdrs99328View Report
Logic errorAssigned value is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/cbfstool/elfheaders.cwrite_phdrs99228View Report
Logic errorAssigned value is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/cbfstool/elfheaders.cwrite_phdrs99026View Report
Logic errorAssigned value is garbage or undefinedcb-build/coreboot_scanbuild.0/sharedutils/bincfg/bincfg.lex.cyylex88229View Report
Logic errorAssigned value is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/host/lib/crossystem.cvb2_read_nv_storage_mosys8007View Report
Memory errorBad freehome/coreboot/slave-root/workspace/coreboot_scanbuild/util/cbfstool/lz4/lib/lz4frame.cLZ4F_compressBegin41222View Report
Dead storeDead assignmenthome/coreboot/slave-root/workspace/coreboot_scanbuild/util/nvidia/cbootimage/src/data_layout.cwrite_block_raw9801View Report
Dead storeDead assignmenthome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/cgptlib/cgptlib_internal.cGptSanityCheck3021View Report
Dead storeDead assignmenthome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/cmd_gbb_utility.cdo_gbb5531View Report
Dead storeDead assignmenthome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/cgpt/cgpt_common.cUTF16ToUTF85091View Report
Dead storeDead assignmenthome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/vboot_ui_legacy_wilco.cvb2_diagnostics_ui3171View Report
Dead storeDead assignmenthome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/vboot_ui_legacy_wilco.cvb2_diagnostics_ui3081View Report
Dead storeDead incrementhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/cmd_gbb_utility.ccreate_gbb1981View Report
Dead storeDead incrementhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/cmd_vbutil_firmware.cdo_verify2691View Report
Dead storeDead incrementhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/tpm_lite/tlcl.cAddRequestAuthBlock3111View Report
Logic errorDereference of null pointerhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/sconfig/main.coverride_devicetree156140View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/cbfstool/cbfstool.ccbfs_add_component54947View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cnew_manifest_from_archive100324View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cnew_manifest_from_archive99316View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cnew_manifest_from_archive99316View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cnew_manifest_from_archive99316View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cnew_manifest_from_archive99316View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cmanifest_scan_entries80648View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cmanifest_scan_entries80646View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cmanifest_scan_entries80641View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cmanifest_scan_entries80644View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cmodel_config_parse_setvars_file59554View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/ifdtool/ifdtool.cmain179638View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/ifdtool/ifdtool.cmain171320View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/nvidia/cbootimage/src/data_layout.cwrite_image60439View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/amdfwtool/amdfwtool.cmain157936View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/nvramtool/cmos_lowlevel.ccmos_read1338View Report
Memory errorOffset freehome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/host/lib/util_misc.cvb_keyb_from_rsa1648View Report
Logic errorResult of operation is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/ifdtool/ifdtool.cnew_layout134547View Report
Logic errorResult of operation is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/host/arch/x86/lib/crossystem_arch.cVbSharedDataRead32949View Report
Logic errorResult of operation is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/nvramtool/cmos_lowlevel.ccmos_read_bits30519View Report
Logic errorResult of operation is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/nvramtool/cmos_lowlevel.cget_bits6317View Report
Logic errorStack address stored into global variablehome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/cmd_show.cdo_show62124View Report
Logic errorStack address stored into global variablehome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/cmd_show.cdo_show57416View Report
Logic errorStack address stored into global variablehome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/cmd_show.cdo_show56818View Report
Logic errorStack address stored into global variablehome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/cmd_show.cdo_show54513View Report
Logic errorUninitialized argument valuehome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.carchive_copy_callback47915View Report
Memory errorUse of zero allocatedcb-build/coreboot_scanbuild.0/sharedutils/cbfstool/fmd_scanner.cyy_get_next_buffer111322View Report