[U-Boot] [PATCH] spmi: Fix sandbox spmi driver memory corruption

Stephen Warren swarren at wwwdotorg.org
Mon Apr 4 20:06:00 CEST 2016


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 <swarren at nvidia.com>



More information about the U-Boot mailing list