Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ab84fce5 authored by Dongsheng Yang's avatar Dongsheng Yang Committed by Brian Norris
Browse files

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: default avatarDongsheng Yang <yangds.fnst@cn.fujitsu.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent d3e94f3f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment