openwrtv3/package/utils
Rafał Miłecki 9f15849910 nvram: fix "Segmentation fault" caused by setting memory out of buffer
Some MTD partitions with NVRAM have content starting in the middle. In
such case offset is set and nvram_header returns pointer to the middle.
It means we have to respect offset when calculating remaining space.

By the way use real MTD partition size (nvram_part_size variable) as we
may want to bump NVRAM_SPACE in the (very near) future.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46251
2015-07-07 21:21:49 +00:00
..
admswconfig license info - revert r43155 2014-11-03 09:56:44 +00:00
busybox busybox: fix an ash regression in handling local variables 2015-04-17 00:01:29 +00:00
bzip2 bzip2: import package from packages.git 2015-06-14 17:43:34 +00:00
e2fsprogs e2fsprogs: add conffiles section 2015-04-02 14:53:12 +00:00
fbtest fbtest: remove bogus #include 2015-03-29 04:28:29 +00:00
fuse fuse: fix exec environment for mount and umount 2015-05-24 17:56:26 +00:00
hostap-utils license info - revert r43155 2014-11-03 09:56:44 +00:00
jsonfilter license info - revert r43155 2014-11-03 09:56:44 +00:00
lua lua: honor LDFLAGS 2015-06-18 10:55:57 +00:00
mdadm license info - revert r43155 2014-11-03 09:56:44 +00:00
mkelfimage license info - revert r43155 2014-11-03 09:56:44 +00:00
nvram nvram: fix "Segmentation fault" caused by setting memory out of buffer 2015-07-07 21:21:49 +00:00
otrx otrx: add extra compilation check before using __BYTE_ORDER 2015-06-22 07:51:00 +00:00
px5g fix subject in generated certificates 2015-01-25 23:33:49 +00:00
px5g-standalone Revert "px5g-standalone: compatibility with fortify-headers" 2015-06-24 18:52:10 +00:00
robocfg packages: fix typo in OpenWrt name 2014-12-07 16:53:30 +00:00
spidev_test license info - revert r43155 2014-11-03 09:56:44 +00:00
ubi-utils packages: remove uneeded PKG_BUILD_DIR overrides 2015-02-22 01:31:21 +00:00
ugps ugps: add conffiles section, fix config file perms 2015-04-02 14:53:00 +00:00
usbmode usbmode: update data files 2015-04-01 13:36:58 +00:00
usbreset license info - revert r43155 2014-11-03 09:56:44 +00:00
usbutils license info - revert r43155 2014-11-03 09:56:44 +00:00
util-linux util-linux: replace spaces with tabs 2015-03-22 12:37:33 +00:00
xfsprogs license info - revert r43155 2014-11-03 09:56:44 +00:00