commit | 7827e3acad2df1c6537e5fe7211d216dabc60399 | [log] [tgz] |
---|---|---|
author | Dongsheng Yang <yangds.fnst@cn.fujitsu.com> | Tue Jul 21 16:30:20 2015 +0800 |
committer | Brian Norris <computersforpeace@gmail.com> | Tue Sep 29 15:43:15 2015 -0700 |
tree | 7b38b2b3441409c8b882c40462a54608834fabeb | |
parent | 8a799590005180b1010912be096c1302e2bd06da [diff] |
mtd: mtdram: check offs and len in mtdram->erase We should prevent user to erasing mtd device with an unaligned offset or length. Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>