Home
last modified time | relevance | path

Searched hist:"2 d06fd839d2d0846cf6e47ecebbf646b486e5570" (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/common/
H A Dautoboot.cdiff 2d06fd839d2d0846cf6e47ecebbf646b486e5570 Fri Jan 12 02:04:38 CST 2018 Martin Etnestad <martin.etnestad@appeartv.com> Initialize SHA buffer size var in passwd_abort

The call to hash_block in passwd_abort fails with error ENOSPC on some
systems. The reason is that the variable which specifies the size of the
buffer to contain the computed hash does not get initialized.

This patch initializes the variable with the size of the buffer.

Signed-off-by: Martin Etnestad <martin.etnestad@appeartv.com>