[PATCH v2 3/5] DFU: Check the number of arguments and argument string strictly
Tom Rini
trini at konsulko.com
Fri Feb 11 18:06:45 CET 2022
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 at linaro.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220211/6190816c/attachment.sig>
More information about the U-Boot
mailing list