archive mirror
 help / color / mirror / Atom feed
From: Sakari Ailus <>
To: Dan Carpenter <>
	Mauro Carvalho Chehab <>,,
Subject: Re: [PATCH] media: atomisp: Fix a pointer math problem in dump_sp_dmem()
Date: Tue, 16 Jun 2020 09:51:35 +0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <20200616092728.GB11940@mwanda>

On Tue, Jun 16, 2020 at 12:27:28PM +0300, Dan Carpenter wrote:
> The "io_virt_addr" variable is a u32 pointer and it should be
> incremented by one instead of four.  The current code will dump bogus
> data and read beyond the end of the buffer.
> Fixes: 69a03e36c711 ("media: atomisp: get rid of an iomem abstraction layer")
> Signed-off-by: Dan Carpenter <>

Acked-by: Sakari Ailus <>

Sakari Ailus

      reply	other threads:[~2020-06-16  9:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-16  9:27 [PATCH] media: atomisp: Fix a pointer math problem in dump_sp_dmem() Dan Carpenter
2020-06-16  9:51 ` Sakari Ailus [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:

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

  git send-email \ \ \ \ \ \ \ \

* 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;
as well as URLs for NNTP newsgroup(s).