[PATCH 1/1] cmd: check argc for acpi dump
Simon Glass
sjg at chromium.org
Mon Dec 11 18:52:19 CET 2023
On Sat, 9 Dec 2023 at 10:05, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> 'acpi dump' without parameter results in a NULL dereference. Check the
> number of arguments.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> cmd/acpi.c | 3 +++
> 1 file changed, 3 insertions(+)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
This could have a test in test/dm/acpi.c if you like
More information about the U-Boot
mailing list