u-boot/tools
Mikhail Ilin f75e92f7f7 tools: imx8image: Fix handle leak
The handle "fd" was created in imx8image.c:249 by calling the "fopen"
 function and is lost in imx8image.c:282.
 Should close the 'fd' file descriptor before exiting the
 parse_cfg_file(image_t *param_stack, char *name) function.

Fixes: a2b96ece5b ("tools: add i.MX8/8X image support")
Signed-off-by: Mikhail Ilin <ilin.mikhail.ol@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-01-30 23:23:01 +01:00
..
binman binman: Fix a test-coverage regression 2023-01-26 10:47:45 -07:00
buildman buildman: Fetch 12.2.0 toolchains by default 2022-12-06 15:30:30 -05:00
concurrencytest patman: test_util: Print test stdout/stderr within test summaries 2022-06-28 03:09:51 +01:00
docker CI/Docker: Update to jammy-20221130 tag 2023-01-11 15:02:24 -05:00
dtoc dtoc: Add a way to read a phandle with params 2023-01-18 14:55:41 -07:00
env tools: env: fw_env: Fix unused-result warning 2022-12-08 09:25:44 -05:00
gdb
kermit
libfdt libfdt: migrate fdt_ro.c to a wrapper of scripts/dtc/libfdt/fdt_ro.c 2020-04-26 14:23:39 -06:00
logos video: theadorable: Use RGB565 for BMP blitting 2021-12-26 23:23:52 +01:00
omap
patman patman: symlink top level .checkpatch.conf 2023-01-18 14:55:41 -07:00
scripts
.gitignore u-boot-initial-env: rework make target 2022-12-08 09:29:02 -05:00
aisimage.c tool: aisimage: use ALIGN instead of self defiend macro 2020-04-24 10:10:00 -04:00
aisimage.h
asn1_compiler.c WS cleanup: remove trailing white space 2021-09-30 08:08:56 -04:00
atmel_pmecc_params.c
atmelimage.c
bmp_logo.c
default_image.c tools: mkimage: add new image type "fdt_legacy" 2022-12-08 09:29:02 -05:00
dumpimage.c tools: mkimage/dumpimage: Allow to use -l with -T 2022-02-28 10:33:11 -05:00
dumpimage.h
eficapsule.h mkeficapsule: Add support for generating empty capsules 2022-10-31 14:47:33 -04:00
efivar.py tools: efivar.py unused variable 2021-01-13 02:38:00 +01:00
endian-swap.py tools: add script for byte endianness swapping 2020-06-29 22:36:35 +02:00
envcrc.c env: Rework ENV_IS_EMBEDDED and related logic slightly 2022-12-22 10:31:47 -05:00
fdt_host.h tools: Improve comments in signing functions 2022-01-26 08:50:43 -07:00
fdtgrep.c tools: fdtgrep: Fix handle leak 2022-12-08 09:29:02 -05:00
file2include.c
fit_check_sign.c fit_check_sign: Update help to mention the key is in a dtb 2022-01-26 08:50:42 -07:00
fit_common.c tools: mkimage: Show where signatures/keys are written 2022-01-26 08:50:44 -07:00
fit_common.h tools: mkimage: Show where signatures/keys are written 2022-01-26 08:50:44 -07:00
fit_image.c mkimage: fit: Support signed configurations in 'auto' FITs 2023-01-27 12:51:27 -05:00
fit_info.c
gen_eth_addr.c
gen_ethaddr_crc.c
getline.c
getline.h
gpheader.h
gpimage-common.c
gpimage.c
ifdtool.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
ifdtool.h
ifwitool.c ifwitool: Fix member access 2023-01-27 12:51:26 -05:00
image-host.c mkimage: Add a few more messages for FIT failures 2023-01-18 11:49:13 -07:00
image-sig-host.c rsa: adds rsa3072 algorithm 2022-01-28 17:58:41 -05:00
imagetool.c tools/imagetool: Fix segfault when tparams->verify_header is NULL 2022-05-05 15:06:02 -04:00
imagetool.h mkimage: fit: Support signed configurations in 'auto' FITs 2023-01-27 12:51:27 -05:00
img2srec.c
imx_cntr_image.sh
imx8image.c tools: imx8image: Fix handle leak 2023-01-30 23:23:01 +01:00
imx8m_image.sh tools: imx8m_image: Support ddr3 firmware 2021-10-21 13:59:26 +02:00
imx8mimage.c tools: imx8mimage: Fix handle leak 2023-01-30 23:23:01 +01:00
imximage.c tools: imximage: Fix check array index 2023-01-30 23:23:01 +01:00
jtagconsole
k3_fit_atf.sh tools: k3_fit_atf: Fix DM binary FIT load addresses 2021-09-10 20:10:20 -04:00
k3_gen_x509_cert.sh tools: k3_gen_x509_cert: Do not print SWRV on build 2022-10-12 08:56:24 -04:00
Kconfig tools: mkimage: Add support to generate FlexSPI Header for i.MX8m 2022-07-25 15:35:34 +02:00
kwbimage.c tools: kwbimage: Verify maximal kwbimage header size 2022-10-06 10:15:35 +02:00
kwbimage.h tools: kwbimage: Add support for dumping extended and binary v0 headers 2022-02-17 14:17:07 +01:00
kwboot.c tools: kwboot: Change KWBOOT_MSG_RSP_TIMEO_AXP to 10ms 2022-09-13 06:38:08 +02:00
lpc32xximage.c
Makefile env: Rework ENV_IS_EMBEDDED and related logic slightly 2022-12-22 10:31:47 -05:00
microcode-tool
microcode-tool.py
mips-relocs.c linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
mkeficapsule.c mkeficapsule: Add support for setting OEM flags in capsule header 2022-10-31 14:47:33 -04:00
mkenvimage.c tools: mkenvimage: Drop duplicate crc header include 2022-11-23 13:06:12 -05:00
mkexynosspl.c
mkimage.c mkimage: fit: Support signed configurations in 'auto' FITs 2023-01-27 12:51:27 -05:00
mkimage.h image: fit: Use stack allocation macro 2022-07-01 16:01:25 -04:00
mksunxiboot.c tools: mksunxiboot: Use sunxi_image header directly 2021-10-25 14:49:58 +01:00
moveconfig.py kbuild: Remove checking for adhoc CONFIG symbols 2022-12-23 13:01:13 -05:00
mtk_image.c treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mtk_image.h tools: mtk_image: split the code of generating NAND header into a new file 2022-09-23 15:09:16 -04:00
mtk_nand_headers.c tools: mtk_image: add support for nand headers used by newer chips 2022-09-23 15:09:16 -04:00
mtk_nand_headers.h tools: mtk_image: add support for nand headers used by newer chips 2022-09-23 15:09:16 -04:00
mxsboot.c
mxsimage.c tools/mxsimage: Remove fclose on empty FILE pointer 2022-02-05 13:38:39 +01:00
mxsimage.h
ncb.c
netconsole tools/netconsole: Add support for socat 2021-12-02 08:34:01 +02:00
omapimage.c
omapimage.h
os_support.c tools: Remove the out-of-date MinGW support codes 2020-04-24 10:51:56 -04:00
os_support.h tools: Remove the out-of-date MinGW support codes 2020-04-24 10:51:56 -04:00
pbl_crc32.c crc32: Use the crc.h header for crc functions 2019-12-02 18:23:08 -05:00
pbl_crc32.h
pblimage.c tools: pblimage: fix image header verification function 2022-02-28 12:01:02 +05:30
pblimage.h tools: pblimage: fix image header verification function 2022-02-28 12:01:02 +05:30
prelink-riscv.c
prelink-riscv.inc
printinitialenv.c u-boot-initial-env: rework make target 2022-12-08 09:29:02 -05:00
proftool.c trace: Update trace-format generator for newer version 2023-01-18 11:49:13 -07:00
relocate-rela.c tools: relocate-rela: Define all macros for e_machine and reloc types 2022-07-26 08:23:55 +02:00
rkcommon.c rockchip: mkimage: Add rv1126 support 2023-01-16 18:01:11 +08:00
rkcommon.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
rkimage.c rockchip: mkimage: fix wrong range of rc4 encoding for boot image 2019-12-27 15:17:07 +08:00
rkmux.py
rksd.c rockchip: mkimage: support packing optional second level boot-loader 2019-12-27 15:17:07 +08:00
rkspi.c rockchip: mkimage: support packing optional second level boot-loader 2019-12-27 15:17:07 +08:00
rmboard.py patman: Convert camel case in command.py 2022-02-09 12:26:12 -07:00
socfpgaimage.c tools: socfpgaimage: update padding flow 2021-01-15 17:48:39 +08:00
spl_size_limit.c
stm32image.c tools: mkimage: fix STM32 image format for big endian hosts 2020-02-13 17:32:09 +01:00
sunxi_egon.c mkimage: sunxi_egon: add support for riscv 2022-04-04 23:24:17 +01:00
sunxi_toc0.c tools: mkimage: fix build with recent LibreSSL 2022-08-31 12:21:47 -04:00
sunxi-spl-image-builder.c
termios_linux.h tools: termios_linux.h: Fix compilation on non-glibc systems 2022-09-13 06:38:08 +02:00
ublimage.c
ublimage.h
ubsha1.c
update_octeon_header.c mips: octeon: tools: Add update_octeon_header tool 2020-11-30 18:32:09 +01:00
vybridimage.c
xway-swap-bytes.c
zynqimage.c
zynqmp_pm_cfg_obj_convert.py tools/zynqmp_pm_cfg_obj_convert.py: fix build with Vivado 2021.x 2022-02-15 12:41:00 +01:00
zynqmp_psu_init_minimize.sh tools: zynqmp_psu_init_minimize: Move helper functions below header includes 2022-06-24 14:37:27 +02:00
zynqmpbif.c
zynqmpimage.c
zynqmpimage.h