coreboot-kgpe-d16/util/cbfstool
Shaik Shahina 425413c35f cbfstool: Fix possible memory leak
Handle the possible memory leak scenario.

Foundby=klocwork
BUG=NONE
TEST=Boot to OS on Nivviks

Change-Id: I01c4643d1e671d9bd9971ac6db8031634fffd61e
Signed-off-by: Shaik Shahina <shahina.shaik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69220
Reviewed-by: Shahina Shaik <shahina.shaik@intel.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
2022-11-09 00:26:30 +00:00
..
bpdt_formats util/cbfstool/bpdt_formats: Fix memory leak issues 2022-11-08 22:51:36 +00:00
console util/cbfstool: Wrap logging macros in do - while 2022-10-13 17:07:02 +00:00
flashmap util/cbfstool: Remove redundant endian.h include 2022-01-04 11:50:11 +00:00
fpt_formats util/cse_fpt: Add a new tool for managing Intel CSE FPT binaries 2021-10-19 16:08:03 +00:00
lz4 util: Fix a few spelling mistakes 2022-05-30 04:25:07 +00:00
lzma
tests elogtool: add pytest for elogtool 2021-10-25 08:08:41 +00:00
.gitignore util/cbfstool/.gitignore: Add CSE tool executables 2021-11-29 18:44:34 +00:00
EXAMPLE
Makefile utils/cbfstool: Fix building with `make test-tools` 2022-02-27 18:29:24 +00:00
Makefile.inc util/cbfstool: Set `USE_FLASHROM=0` to build vboot 2022-06-19 18:46:04 +00:00
ProcessorBind.h
amdcompress.c util/cbfstool/amdcompress: fix argument requirement 2020-11-15 16:49:30 +00:00
cbfs-mkpayload.c util/cbfstool: Wrap logging macros in do - while 2022-10-13 17:07:02 +00:00
cbfs-mkstage.c util/cbfstool: Replace swab.h with commonlib/bsd/sysincludes.h 2022-01-10 21:32:34 +00:00
cbfs-payload-linux.c cbfstool: Use cbfs_serialized.h and standard vboot helpers 2020-12-03 00:00:33 +00:00
cbfs.h util/cbfstool: Check for metadata hash in verstage 2022-10-26 15:59:58 +00:00
cbfs_glue.h cbfs/vboot: Adapt to new vb2_digest API 2022-09-02 23:51:29 +00:00
cbfs_image.c util/cbfstool: Wrap logging macros in do - while 2022-10-13 17:07:02 +00:00
cbfs_image.h util/cbfstool: Fix truncate command error handling and cbfs_image_from_buffer() 2022-08-03 23:24:49 +00:00
cbfs_sections.c
cbfs_sections.h cbfstool: Support CONFIG_CBFS_VERIFICATION and metadata hash anchor 2021-03-13 04:16:20 +00:00
cbfscomptool.c cbfstool: Use cbfs_serialized.h and standard vboot helpers 2020-12-03 00:00:33 +00:00
cbfstool.c cbfstool: Fix possible memory leak 2022-11-09 00:26:30 +00:00
coff.h util/cbfstool: Add support for ARM64 UefiPayload 2021-10-04 02:31:01 +00:00
common.c cbfstool: Fix possible memory leak 2022-11-09 00:26:30 +00:00
common.h util/cbfstool: Replace swab.h with commonlib/bsd/sysincludes.h 2022-01-10 21:32:34 +00:00
compress.c util/cbfstool: fix memory leak in compress.c 2022-11-02 21:40:25 +00:00
cse_fpt.c util/cse*: Add cse_helpers.{c,h} 2021-10-19 16:08:45 +00:00
cse_fpt.h util/cse*: Add cse_helpers.{c,h} 2021-10-19 16:08:45 +00:00
cse_helpers.c util/cse*: Add cse_helpers.{c,h} 2021-10-19 16:08:45 +00:00
cse_helpers.h util/cse*: Add cse_helpers.{c,h} 2021-10-19 16:08:45 +00:00
cse_serger.c util/cse_serger: Add command `create-cse-region` 2021-10-19 16:32:24 +00:00
cse_serger.h util/cse_serger: Replace cse_layout_regions with array of regions 2021-10-19 16:10:12 +00:00
default-x86.fmd drivers/vpd: Add VPD region to default FMAP when selected 2021-01-04 23:12:35 +00:00
default.fmd
description.md
elf.h cbfstool: Add support for platform "fixups" when modifying bootblock 2021-03-13 04:17:35 +00:00
elfheaders.c
elfparsing.h
elogtool.c util/cbfstool: Decouple elogtool from vboot_ref flashrom code 2022-06-16 20:38:41 +00:00
eventlog.c util/eventlog: Correct the capitalization for diagnostics types 2022-11-02 21:41:10 +00:00
eventlog.h elogtool: add "clear" command 2021-09-10 22:53:05 +00:00
fdt.h
fit.c util/ifittool: Error out if microcodes do not fit the FIT table 2022-09-15 13:01:42 +00:00
fit.h util/ifittool: Add an option to set the FIT pointer a CBFS file 2021-03-19 11:22:55 +00:00
flashmap_tests.c
flashrom.c treewide: Unify Google branding 2022-07-04 14:02:26 +00:00
flashrom.h treewide: Unify Google branding 2022-07-04 14:02:26 +00:00
fmap_from_fmd.c
fmap_from_fmd.h
fmaptool.c util/cbfstool/fmaptool: Generate list of terminal sections 2020-12-08 18:59:05 +00:00
fmd.c
fmd.h
fmd_parser.c_shipped
fmd_parser.h_shipped
fmd_parser.y
fmd_scanner.c_shipped treewide: Remove trailing whitespace 2021-02-17 17:30:05 +00:00
fmd_scanner.h_shipped treewide: Remove trailing whitespace 2021-02-17 17:30:05 +00:00
fmd_scanner.l
fv.h util/cbftool: Fix the bug in parsing Uefipayload with extended header 2021-09-02 06:07:08 +00:00
ifittool.c util/cbfstool: Fix truncate command error handling and cbfs_image_from_buffer() 2022-08-03 23:24:49 +00:00
ifwitool.c
linux.h
linux_trampoline.S cbfstool/linux_trampoline: Fill the ACPI RSDP entry 2022-03-09 14:21:26 +00:00
linux_trampoline.c cbfstool/linux_trampoline: Fill the ACPI RSDP entry 2022-03-09 14:21:26 +00:00
linux_trampoline.h util/cbfstool/linux_trampoline.h: Fix typo in comment 2021-06-04 12:35:14 +00:00
option.h
partitioned_file.c util/cbfstool: unbreak compilation on FreeBSD 2021-01-13 12:07:17 +00:00
partitioned_file.h
platform_fixups.c cbfs/vboot: Adapt to new vb2_digest API 2022-09-02 23:51:29 +00:00
rmodtool.c
rmodule.c util/cbfstool/rmodule: Omit undefined extern symbols from reloc table 2021-10-20 15:56:28 +00:00
rmodule.h rmodtool: Make memlayout symbols absolute and do not relocate them 2021-02-18 02:32:06 +00:00
xdr.c