1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +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 tools: add autoconf-archive 2020-05-20 15:37:16 +02:00
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 tools/coreutils: update to 8.32 2020-08-30 22:21:34 +02:00
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 tools/flock: add PKG_{VERSION,RELEASE} 2020-07-23 11:30:22 +02:00
genext2fs
gengetopt
gmp tools/gmp: update to 6.2.1 2020-11-21 18:49:17 +01:00
include
isl
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 tools/mpfr: update to 4.1.0 2020-08-23 19:40:32 +02:00
mtd-utils tools: mtd-utils: Update to version 2.1.2 2020-08-26 23:29:35 +02:00
mtools
padjffs2 tools: drop PKG_VERSION for purely local packages 2020-07-23 10:54:33 +02:00
patch
patch-image rb532: drop target 2020-09-02 16:29:22 +02:00
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 squashfs: Fix compile with GCC 10 2020-05-24 14:38:40 +02:00
squashfskit4 tools/squashfskit4: fix build on non-linux systems 2020-09-01 17:01:56 +02:00
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