aboutsummaryrefslogtreecommitdiff
path: root/drivers/dfu/Kconfig
diff options
context:
space:
mode:
authorMasami Hiramatsu <masami.hiramatsu@linaro.org>2022-01-31 11:52:37 +0900
committerTom Rini <trini@konsulko.com>2022-02-11 11:29:23 -0500
commit53b406369e9d0ba2da1df9b2488976c41acc6332 (patch)
treef32d426e2b14d0b4bf72e0343a75dc38d519d6ab /drivers/dfu/Kconfig
parent8db74c153b4e30edc5290da6c7330c63558678d0 (diff)
downloadu-boot-53b406369e9d0ba2da1df9b2488976c41acc6332.zip
u-boot-53b406369e9d0ba2da1df9b2488976c41acc6332.tar.gz
u-boot-53b406369e9d0ba2da1df9b2488976c41acc6332.tar.bz2
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 'drivers/dfu/Kconfig')
0 files changed, 0 insertions, 0 deletions