public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] video: ipu: fix out of bounds access
Date: Mon, 30 Nov 2015 09:21:30 +0100	[thread overview]
Message-ID: <20151130092130.25880bd8@crub> (raw)
In-Reply-To: <1448589610-13793-1-git-send-email-Peng.Fan@freescale.com>

Hello,

On Fri, 27 Nov 2015 10:00:10 +0800
Peng Fan <Peng.Fan@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@freescale.com>
> Acked-by: Liu Ying <Ying.Liu@freescale.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Anatolij Gustschin <agust@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

      reply	other threads:[~2015-11-30  8:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-27  2:00 [U-Boot] [PATCH] video: ipu: fix out of bounds access Peng Fan
2015-11-30  8:21 ` Anatolij Gustschin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151130092130.25880bd8@crub \
    --to=agust@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox