Skip to content
Snippets Groups Projects
Commit 2d06fd83 authored by Martin Etnestad's avatar Martin Etnestad Committed by Tom Rini
Browse files

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: default avatarMartin Etnestad <martin.etnestad@appeartv.com>
parent 5b893baf
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment