commit | 055afbaf07433fb787f1b5d08a2751fc3790c395 | [log] [tgz] |
---|---|---|
author | Martin Etnestad <martin.etnestad@appeartv.com> | Fri Jan 12 09:04:38 2018 +0100 |
committer | Tom Rini <trini@konsulko.com> | Sun Jan 28 09:36:28 2018 -0500 |
tree | e9dbb709c943119ea575d3cb6627dbe32b3d2e1a | |
parent | 235a02fa223cd106a08b0ffe41ced828fa516fc5 [diff] |
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>