coreboot_scanbuild - scan-build results

User:coreboot@9bbe52bbb28b
Working Directory:/home/coreboot/slave-root/workspace/coreboot_scanbuild
Command Line:make V=0 DOTCONFIG=/cb-build/coreboot_scanbuild.0/EMULATION_QEMU_X86_I440FX_DEBUG/config.build obj=/cb-build/coreboot_scanbuild.0/EMULATION_QEMU_X86_I440FX_DEBUG objutil=/cb-build/coreboot_scanbuild.0/sharedutils BUILD_TIMELESS=1
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:51:20 2020

Bug Summary

Bug TypeQuantityDisplay?
All Bugs20
Logic error
Dereference of null pointer5
Garbage return value3
Result of operation is garbage or undefined6
Uninitialized argument value4
Unix API1
Memory error
Memory leak1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorDereference of null pointerlib/string.cstrtok_r1746View Report
Logic errorDereference of null pointerdevice/device_util.cadd_more_links6929View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1746View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1746View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1746View Report
Logic errorGarbage return valuemainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_max_cpus13715View Report
Logic errorGarbage return valuemainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_max_cpus13715View Report
Logic errorGarbage return valuemainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_max_cpus13715View Report
Memory errorMemory leakacpi/acpigen_usb.cadd_device_ref8910View Report
Logic errorResult of operation is garbage or undefinedmainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_acpi_tables24316View Report
Logic errorResult of operation is garbage or undefinedarch/x86/exception.cget_packet33517View Report
Logic errorResult of operation is garbage or undefinedarch/x86/exception.ccopy_from_hex29514View Report
Logic errorResult of operation is garbage or undefinedmainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_acpi_tables24316View Report
Logic errorResult of operation is garbage or undefinedmainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_acpi_tables24316View Report
Logic errorResult of operation is garbage or undefineddevice/dram/ddr2.cspd_decode_ddr246528View Report
Logic errorUninitialized argument valuemainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_find_file7516View Report
Logic errorUninitialized argument valuecpu/x86/mtrr/mtrr.ccommit_fixed_mtrrs34719View Report
Logic errorUninitialized argument valuemainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_find_file7516View Report
Logic errorUninitialized argument valuemainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_find_file7516View Report
Logic errorUnix APIsecurity/memory/memory_clear.cclear_memory13313View Report