diff options
author | Neil Armstrong <neil.armstrong@linaro.org> | 2025-04-03 18:03:21 +0200 |
---|---|---|
committer | Neil Armstrong <neil.armstrong@linaro.org> | 2025-04-04 10:37:40 +0200 |
commit | c5fd2c7ac7fa4835339ea09ead2884794314c9d8 (patch) | |
tree | f57efb89dca1f74510c7e766356b6fd6815a076e /lib/mbedtls/pkcs7_parser.c | |
parent | 82b69fc4224432d5aefa7ca750d950374cbc7fb2 (diff) |
board: libre-computer: check interface before comparing it in set_dfu_alt_info()
When set_dfu_alt_info() is called, interface can be NULL when called for
the EFI capsule, so check it before calling it with strcmp().
Fixes: 12ea40d29dc ("ARM: meson: add support for Libre Computer aml-s905d3-cc")
Fixes: 9e6e6b034b1 ("ARM: meson: add support for Libre Computer aml-a311d-cc")
Fixes: 75c87c6cbc0 ("board: libre-computer: aml-s805x-cc: Enable capsule updates")
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Link: https://lore.kernel.org/r/20250403-u-boot-fix-set-dfu-alt-info-interface-v1-1-1fdd12463186@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Diffstat (limited to 'lib/mbedtls/pkcs7_parser.c')
0 files changed, 0 insertions, 0 deletions