Re: [PATCH v2 3/5] DFU: Check the number of arguments and argument string strictly

Tom Rini
2022-02-11T17:07:24Z

[-- Attachment #1: Type: text/plain, Size: 661 bytes --]

On Mon, Jan 31, 2022 at 11:52:37AM +0900, Masami Hiramatsu wrote:

> When parsing the dfu_alt_info, check the number of arguments
> and argument string strictly. If there is any garbage data
> (which is not able to be parsed correctly) in dfu_alt_info,
> that means something wrong and user may make a typo or mis-
> understanding about the syntax. Since the dfu_alt_info is
> used for updating the firmware, this mistake may lead to
> brick the hardware.
> Thus it should be checked strictly for making sure there
> is no mistake.
>
> Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>

Applied to u-boot/master, thanks!

--
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]