[U-Boot] [PATCH] video: ipu: fix out of bounds access
Anatolij Gustschin
agust at denx.de
Mon Nov 30 09:21:30 CET 2015
Hello,
On Fri, 27 Nov 2015 10:00:10 +0800
Peng Fan <Peng.Fan at freescale.com> wrote:
> We need to access reg stp_rep9, but not stp_rep[(9 - 1) / 2].
> If using "__raw_writel(0, DI_STP_REP(disp, 9))", this will exceeds
> the size of stp_rep array.
>
> Signed-off-by: Peng Fan <Peng.Fan at freescale.com>
> Acked-by: Liu Ying <Ying.Liu at freescale.com>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Anatolij Gustschin <agust at denx.de>
> ---
> drivers/video/ipu_disp.c | 2 +-
> drivers/video/ipu_regs.h | 1 +
> 2 files changed, 2 insertions(+), 1 deletion(-)
applied to u-boot-video/master. Thanks!
Anatolij
More information about the U-Boot
mailing list