rv1126-uboot/tools
Tom Rini 017aad0449 UPSTREAM: cmd/gpt.c, cmd/nvedit.c, tools/fit_image.c: Rework recent fixes for Coverity
The recent changes to these files did not completely fix the previous
issues, or introduced different (minor) issues.  In cmd/gpt.c we need to
dereference str_disk_guid to be sure that malloc worked.  In
cmd/nvedit.c we need to be careful that we can also fit in that leading
space when adding to the string.  And in tools/fit_image.c we need to
re-work the error handling slightly in fit_import_data() so that we only
call munmap() once.  We have two error paths here, one where we have an
fd to close and one where we do not.  Adjust labels to match this.

Change-Id: I66fafd0ed8d1c290a7773bba5ece8d11bfc15b50
Reported-by: Coverity (CID: 167366, 167367, 167370)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit bf52fcdef4aac242b5e6b6b9827acf6d69ce1951)
2018-01-17 15:27:28 +08:00
..
binman binman: Put our local modules ahead of system modules 2017-07-11 10:08:20 -06:00
buildman UPSTREAM: genconfig.py: Print defconfig next to warnings 2018-01-16 18:13:59 +08:00
dtoc dtoc: Add a header to the generated files 2017-09-12 16:04:38 +08:00
easylogo
env env: Add 'envtools' target to 'make help' 2017-09-05 20:34:09 -04:00
gdb
images rockchip: support pack resources into resource.img 2017-12-28 15:23:35 +08:00
kermit
logos
omap
patman UPSTREAM: patman: Fix error when the email blacklist is missing 2018-01-16 18:14:09 +08:00
scripts
.gitignore tools: .gitignore: Add libfdt related files 2017-09-07 10:44:35 -04:00
Makefile UPSTREAM: tools/mkimage: Make the path to the dtc binary that mkimage calls configurable 2018-01-16 18:17:07 +08:00
aisimage.c
aisimage.h
atmel_pmecc_params.c
atmelimage.c
bmp_logo.c
default_image.c
dumpimage.c
dumpimage.h
envcrc.c
fdt_host.h
fdtgrep.c fdtgrep: Deal with NULL data passed to check_type_include() 2017-06-12 08:38:07 -04:00
fit_check_sign.c
fit_common.c
fit_common.h
fit_image.c UPSTREAM: cmd/gpt.c, cmd/nvedit.c, tools/fit_image.c: Rework recent fixes for Coverity 2018-01-17 15:27:28 +08:00
fit_info.c
gen_eth_addr.c
gen_ethaddr_crc.c
genboardscfg.py UPSTREAM: genconfig.py: Print defconfig next to warnings 2018-01-16 18:13:59 +08:00
getline.c
getline.h
gpheader.h
gpimage-common.c
gpimage.c
ifdtool.c
ifdtool.h
image-host.c
imagetool.c
imagetool.h rockchip: mkimage: add support for rockchip nand boot image 2017-11-07 16:30:53 +08:00
img2brec.sh
img2srec.c treewide: remove unneeded semicolons 2017-06-16 10:11:38 -04:00
imximage.c
jtagconsole
kwbimage.c tools/kwbimage: fix v1 header verification 2017-07-12 06:57:55 +02:00
kwbimage.h tools/kwbimage.h: make offset marks style consistent 2017-07-12 06:57:55 +02:00
kwboot.c
lpc32xximage.c
microcode-tool
microcode-tool.py
mingw_support.c
mingw_support.h
mips-relocs.c mips-relocs: Fix warning from gcc 6.3 2017-07-25 20:44:38 +02:00
mkenvimage.c
mkexynosspl.c
mkimage.c rockchip: mkimage: add support for rockchip nand boot image 2017-11-07 16:30:53 +08:00
mkimage.h dtc: mkimage: Add the possibility to specify DTC 2017-07-22 15:36:19 -04:00
mksunxiboot.c
moveconfig.py UPSTREAM: moveconfig: Use fd.write() instead of print >> 2018-01-16 18:13:59 +08:00
mxsboot.c
mxsimage.c
mxsimage.h
ncb.c
netconsole
omapimage.c
omapimage.h
os_support.c
os_support.h
pbl_crc32.c
pbl_crc32.h
pblimage.c
pblimage.h
proftool.c
relocate-rela.c
rkcommon.c UPSTREAM: rockchip: mkimage: remove unused code-paths (spl_boot0 is now implied) 2017-11-08 15:20:53 +08:00
rkcommon.h UPSTREAM: rockchip: mkimage: remove unused code-paths (spl_boot0 is now implied) 2017-11-08 15:20:53 +08:00
rkimage.c
rkmux.py
rknand.c UPSTREAM: rockchip: mkimage: remove unused code-paths (spl_boot0 is now implied) 2017-11-08 15:20:53 +08:00
rksd.c rockchip: mkimage: add support for rockchip nand boot image 2017-11-07 16:30:53 +08:00
rkspi.c rockchip: mkimage: add support for rockchip nand boot image 2017-11-07 16:30:53 +08:00
socfpgaimage.c
sunxi-spl-image-builder.c
ublimage.c
ublimage.h
ubsha1.c
vybridimage.c
xway-swap-bytes.c
zynqimage.c
zynqmpimage.c