Openwrt/tools
Kevin Darbyshire-Bryant baf2a50ef3 firmware-utils: fix coverity zytrx.c resource leak
fix coverity resource leak warning:

    	*len = stat.st_size;
    	mapped = mmap(NULL, stat.st_size, PROT_READ, MAP_SHARED, fd, 0);
    	if (close(fd) < 0)
CID 1484880:  Resource leaks  (RESOURCE_LEAK)
Variable "mapped" going out of scope leaks the storage it points to.
    		return NULL;
    	return mapped;
    }

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2021-05-20 11:56:38 +01:00
..
autoconf
autoconf-archive
automake
b43-tools
bc
bison
cbootimage
cbootimage-configs
ccache ccache: update to 4.2.1 2021-04-23 20:57:33 +02:00
cmake
coreutils
cpio
dosfstools
e2fsprogs
elftosb
expat
fakeroot
findutils
firmware-utils firmware-utils: fix coverity zytrx.c resource leak 2021-05-20 11:56:38 +01:00
flex
flock
genext2fs
gengetopt
gmp
include
isl
kernel2minor
libressl
libtool
lzma
lzma-old
m4
make-ext4fs
missing-macros
mkimage
mklibs
mm-macros
mpc
mpfr
mtd-utils
mtools
padjffs2
patch
patch-image
patchelf
pkgconf
quilt
sdimage
sed
sparse
squashfs
squashfskit4
sstrip
tar
xxd
xz
zip
zlib
zstd
Makefile