[U-Boot] [PATCH v3 07/11] mtd: Make sure the name passed in mtdparts fits in mtd_name[]
Heiko Schocher
hs at denx.de
Wed Nov 21 06:45:59 UTC 2018
Hello Boris,
Am 19.11.2018 um 21:59 schrieb Boris Brezillon:
> 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 at bootlin.com>
> ---
> Changes in v3:
> - None
>
> Changes in v2:
> - New patch
> ---
> drivers/mtd/mtd_uboot.c | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
Tested-by: Heiko Schocher <hs at denx.de>
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de
More information about the U-Boot
mailing list