Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
29964 commits behind the upstream repository.
user avatar
Tom Rini authored
In the case of not having CONFIG_CMD_HASH but having CONFIG_CMD_CRC32
enabled (and not CONFIG_CRC32_VERIFY), we end up in this part of the
code path on hash_command().  However, we will only have exactly 3 args
here, and 3 > 3 is false, and we will not try and store the hash at the
address given as arg #3.  The next problem however is that we've been
moving argv around so the third value is now in argv[0] not argv[3].

Confirmed on AM335x Beaglebone White.

Signed-off-by: default avatarTom Rini <trini@ti.com>
4b756b01
History