Masami Hiramatsu 53b406369e DFU: Check the number of arguments and argument string strictly
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>
2022-02-11 11:29:23 -05:00
..
2022-01-28 17:58:41 -05:00
2022-01-25 11:44:36 -07:00
2021-09-25 09:46:15 -06:00
2022-01-19 18:11:34 +01:00
2021-10-05 08:50:15 -04:00
2022-02-08 09:41:27 -05:00
2022-01-13 07:57:49 -05:00
2021-10-31 08:46:44 -04:00
2022-01-13 07:57:49 -05:00
2022-01-19 18:11:34 +01:00
2021-11-09 11:57:22 +09:00
2022-02-08 09:41:27 -05:00
2022-01-19 18:11:34 +01:00
2022-01-19 11:43:44 -05:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2021-10-01 21:08:18 -04:00
2021-10-31 08:46:44 -04:00
2021-10-31 08:46:44 -04:00