nvram: refuse to open NVRAM for writing if it's too big to be handled
authorRafał Miłecki <zajec5@gmail.com>
Wed, 22 Apr 2015 19:07:19 +0000 (19:07 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Wed, 22 Apr 2015 19:07:19 +0000 (19:07 +0000)
commit41b471d235b87c7d3bd1e7e91063b3b8fc6dd52e
treeac9041994b160edbbee6e38e210fc297a33942b1
parent41ba634460d69ea879b66c18255bc1d67769196e
nvram: refuse to open NVRAM for writing if it's too big to be handled

Otherwise writing anything will result in loosing data.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45565 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/utils/nvram/src/nvram.c