openwrt/package
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
..
base-files sysctl: read settings from /etc/sysctl.d/*.conf 2015-07-07 13:47:23 +00:00
boot uboot-lantiq: Add support for Arcadyan ARV8539PW22 (Speedport W 504V) 2015-07-07 13:45:10 +00:00
devel gdb: fix compilation for x86_64 with musl 2015-07-07 17:30:08 +00:00
firmware kernel: add staging r8188eu module (3.13) 2014-04-30 21:53:29 +00:00
kernel mac80211: Drop ath10k workaround for providing calibration data 2015-07-07 13:48:06 +00:00
libs uclibc++: link libssp_nonshared only for musl 2015-07-06 08:55:28 +00:00
network swconfig: swlib.c: free name and description of attributes 2015-07-07 13:46:16 +00:00
system ubus: bump to latest git HEAD 2015-07-07 13:48:17 +00:00
utils nvram: fix "Segmentation fault" caused by setting memory out of buffer 2015-07-07 21:21:49 +00:00
Makefile fix mklibs with musl 2015-06-25 10:14:22 +00:00