summaryrefslogtreecommitdiff
path: root/post
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-12-02 10:54:28 +0100
committerJagan Teki <jagan@amarulasolutions.com>2018-12-06 00:45:36 +0530
commit772aa9799353d1d6bd6d9e2682945d4d7122539a (patch)
tree64a94f9703030b27dc035d31ca7642d15a325976 /post
parent429e048e4190b68b078c37c0012c59804e32818b (diff)
mtd: Make sure the name passed in mtdparts fits in mtd_name[]
The local mtd_name[] variable is limited in size. Return an error if the name passed in mtdparts does not fit in this local var. Fixes: 5db66b3aee6f ("cmd: mtd: add 'mtd' command") Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Tested-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'post')
0 files changed, 0 insertions, 0 deletions