From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Mon, 4 Apr 2016 12:06:00 -0600 Subject: [U-Boot] [PATCH] 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: <5702AD08.8050603@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/04/2016 11:55 AM, 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). Tested-by: Stephen Warren