diff options
author | Masami Hiramatsu <masami.hiramatsu@linaro.org> | 2022-01-31 11:52:37 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-02-11 11:29:23 -0500 |
commit | 53b406369e9d0ba2da1df9b2488976c41acc6332 (patch) | |
tree | f32d426e2b14d0b4bf72e0343a75dc38d519d6ab /doc | |
parent | 8db74c153b4e30edc5290da6c7330c63558678d0 (diff) | |
download | u-boot-53b406369e9d0ba2da1df9b2488976c41acc6332.tar.gz u-boot-53b406369e9d0ba2da1df9b2488976c41acc6332.tar.bz2 u-boot-53b406369e9d0ba2da1df9b2488976c41acc6332.zip |
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>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions