openwrtv4/package/utils
BangLang Huang 1948d8e08c nvram: fix memory leak
Fix memory leak on nvram_open() and nvram_open_rdonly().

For nvram_open(), the 'fd' should be closed on error, and
mmap_area should be unmap when nvram magic can not be found.

For nvram_open_rdonly(), the 'file' variable should free before
return. Once nvram_find_mtd() return successfully, it will allocate
memory to save mtd device string.

Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
2017-08-22 14:31:32 +02:00
..
adb adb: Also pass TARGET_CPPFLAGS 2017-03-01 17:19:51 -08:00
admswconfig treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
bsdiff bsdiff: Also pass down TARGET_CPPFLAGS 2017-03-01 17:19:50 -08:00
busybox busybox: ash/hush fix for read-builtin command 2017-06-24 13:11:19 +02:00
bzip2 bzip2: add symlink to binary 2017-07-05 16:27:40 +02:00
ct-bugcheck ct-bugcheck: Add tools to poll for and report ath10k firmware crashes. 2016-08-28 13:51:41 +02:00
e2fsprogs utils/e2fsprogs: Update to 1.43.5 2017-08-09 23:20:56 +02:00
f2fs-tools f2fs-tools: Switch to gz tarball 2017-05-18 14:23:26 +02:00
fbtest utils/fbtest: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:51 +02:00
fritz-tools fritz_tffs_read: get tffs size from input file 2017-06-24 22:36:38 +02:00
fuse treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
jsonfilter treewide: clean up and unify PKG_VERSION for git based downloads 2016-12-22 16:42:21 +01:00
lua package: replace $(STAGING_DIR)/host with $(STAGING_DIR_HOSTPKG) 2017-01-10 22:15:37 +01:00
mdadm mdadm: Do not check RUN_DIR 2017-06-05 12:24:01 -07:00
mtd-utils mtd-utils: use source package name for lzo in PKG_BUILD_DEPENDS 2017-07-08 22:51:34 +02:00
nvram nvram: fix memory leak 2017-08-22 14:31:32 +02:00
osafeloader packages: mark packages depending on a target as nonshared 2017-01-24 09:45:05 +01:00
oseama utils/oseama: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
otrx utils/otrx: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
px5g px5g: Fix TARGET_LDFLAGS and add TARGET_CPPFLAGS 2017-03-01 17:19:51 -08:00
spidev_test utils/spidev_test: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
ugps ugps: fix and improve init script 2017-03-08 13:32:24 +01:00
usbmode usbmode: remove devices with unsupported modes 2017-05-31 09:55:08 +02:00
usbreset utils/usbreset: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
usbutils usbutils: Update usb.ids database to 2016.10.13 2017-01-10 08:12:42 +01:00
util-linux utils/util-linux: Update to 2.30.1 2017-08-21 21:29:45 +02:00
xfsprogs xfsprogs: update to 4.11.0 2017-05-25 19:01:07 +02:00