From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sun, 28 Jan 2018 13:51:39 -0500 Subject: [U-Boot] Initialize SHA buffer size var in passwd_abort In-Reply-To: <20180112080438.26056-1-martin.etnestad@appeartv.com> References: <20180112080438.26056-1-martin.etnestad@appeartv.com> Message-ID: <20180128185139.GL20149@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Jan 12, 2018 at 09:04:38AM +0100, Martin Etnestad wrote: > 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 Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: