From: Tom Rini Date: Mon, 11 Apr 2016 22:29:37 -0400 Subject: [U-Boot] spmi: Fix sandbox spmi driver memory corruption In-Reply-To: <1459792559-24652-1-git-send-email-mateusz.kulikowski@gmail.com> References: <1459792559-24652-1-git-send-email-mateusz.kulikowski@gmail.com> Message-ID: <20160412022937.GM13577@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 Mon, Apr 04, 2016 at 07:55:58PM +0200, Mateusz Kulikowski wrote: > There is off-by-one error in sandbox_emul_gpio that causes > segfault of certain tests. > > EMUL_GPIO_REG_END is the address of last valid (emulated) register. > This patch fixed this (by adding one more element to emulated register array). > > Signed-off-by: Mateusz Kulikowski > Tested-by: Stephen Warren 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: Digital signature URL: