From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Mon, 30 Nov 2015 09:21:30 +0100 Subject: [U-Boot] [PATCH] video: ipu: fix out of bounds access In-Reply-To: <1448589610-13793-1-git-send-email-Peng.Fan@freescale.com> References: <1448589610-13793-1-git-send-email-Peng.Fan@freescale.com> Message-ID: <20151130092130.25880bd8@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, On Fri, 27 Nov 2015 10:00:10 +0800 Peng Fan 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 > Acked-by: Liu Ying > Cc: Stefano Babic > Cc: Anatolij Gustschin > --- > 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