diff options
author | Dongsheng Yang <yangds.fnst@cn.fujitsu.com> | 2015-09-30 09:01:19 +0800 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-10-19 18:08:33 -0700 |
commit | ab84fce518175aa09ec6e1bb50c2b41dad3e610a (patch) | |
tree | c21e33b3f6907e7c3f46bef21d7119e394db0636 /drivers/mtd/maps | |
parent | d3e94f3f2c0f669dfa0d0d51645d5d7d13a9c074 (diff) | |
download | linux-ab84fce518175aa09ec6e1bb50c2b41dad3e610a.tar.bz2 |
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>
Diffstat (limited to 'drivers/mtd/maps')
0 files changed, 0 insertions, 0 deletions