1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 13:29:16 +02:00
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 tools/bc: use autoreconf to fix build failure on macOS with recent Xcode versions 2020-11-14 14:48:30 +01:00
bison tools/bison: update to 3.7.4 2020-11-21 18:49:08 +01:00
cbootimage treewide: update email address of Tomasz Maciej Nowak 2020-11-24 15:39:07 +01:00
cbootimage-configs treewide: update email address of Tomasz Maciej Nowak 2020-11-24 15:39:07 +01:00
ccache ccache: update to 4.2.1 2021-04-23 20:57:33 +02:00
cmake tools/cmake: always use non-ccache CC and CXX variables 2021-01-06 21:44:56 -10:00
coreutils
cpio tools: add cpio 2021-02-28 00:09:09 +00:00
dosfstools
e2fsprogs
elftosb
expat tools/expat: update to 2.2.10 2020-11-21 18:48:39 +01:00
fakeroot download: add mirror alias for Debian 2021-02-26 20:41:00 +01:00
findutils
firmware-utils firmware-utils: fix coverity zytrx.c resource leak 2021-05-20 11:56:38 +01:00
flex
flock
genext2fs
gengetopt
gmp tools/gmp: update to 6.2.1 2020-11-21 18:49:17 +01:00
include
isl tools/isl: update to 0.20 2019-02-26 23:20:04 +01:00
kernel2minor
libressl ccache: update to 4.1 2020-12-31 10:03:21 +01:00
libtool
lzma treewide: unify OpenWrt hosted source via @OPENWRT 2021-02-05 12:00:24 -10:00
lzma-old treewide: unify OpenWrt hosted source via @OPENWRT 2021-02-05 12:00:24 -10:00
m4
make-ext4fs
missing-macros treewide: remove empty default cases 2020-09-17 12:46:19 +02:00
mkimage tools: mkimage: add patches for 64-bit MediaTek BootROM 2021-03-11 16:24:20 +00:00
mklibs download: add mirror alias for Debian 2021-02-26 20:41:00 +01:00
mm-macros
mpc tools/mpc: update to 1.2.1 2020-11-21 18:49:27 +01:00
mpfr
mtd-utils
mtools
padjffs2
patch
patch-image
patchelf tools/patchelf: bump to use latest master 2021-02-15 07:12:51 +01:00
pkgconf ccache: update to 4.1 2020-12-31 10:03:21 +01:00
quilt
sdimage
sed
sparse tools/sparse: update to version 0.6.3 2021-03-19 00:59:22 +01:00
squashfs
squashfskit4
sstrip tools/sstrip: update to latest version 2020-11-26 12:44:25 -10:00
tar
xxd tools/xxd: fix source URL 2021-03-01 16:39:17 +00:00
xz
zip
zlib
zstd tools/zstd: compile with cmake 2021-01-30 18:14:50 -10:00
Makefile tools/libelf: remove unneeded host library 2021-03-13 22:20:02 +00:00