All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Beniamino Galvani <b.galvani@gmail.com>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
	Wenyou Yang <wenyou.yang@atmel.com>,
	Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	Heiko Stuebner <heiko@sntech.de>,
	devicetree@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/5] regulator: act8865: fix parsing of platform data
Date: Fri, 27 Jun 2014 17:09:02 +0100	[thread overview]
Message-ID: <20140627160902.GR23300@sirena.org.uk> (raw)
In-Reply-To: <1403451105-31929-2-git-send-email-b.galvani@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 324 bytes --]

On Sun, Jun 22, 2014 at 05:31:41PM +0200, Beniamino Galvani wrote:
> The driver loops through all available regulators (ACT8865_REG_NUM)
> and accesses pdata->regulators[i].platform_data without checking the
> actual value of num_regulators in platform data, potentially causing a
> invalid memory access.

Applied, thanks.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: broonie@kernel.org (Mark Brown)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/5] regulator: act8865: fix parsing of platform data
Date: Fri, 27 Jun 2014 17:09:02 +0100	[thread overview]
Message-ID: <20140627160902.GR23300@sirena.org.uk> (raw)
In-Reply-To: <1403451105-31929-2-git-send-email-b.galvani@gmail.com>

On Sun, Jun 22, 2014 at 05:31:41PM +0200, Beniamino Galvani wrote:
> The driver loops through all available regulators (ACT8865_REG_NUM)
> and accesses pdata->regulators[i].platform_data without checking the
> actual value of num_regulators in platform data, potentially causing a
> invalid memory access.

Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140627/15ca84b6/attachment.sig>

  parent reply	other threads:[~2014-06-27 16:09 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-22 15:31 [PATCH 0/5] regulator: act8865: add support for act8846 Beniamino Galvani
2014-06-22 15:31 ` Beniamino Galvani
2014-06-22 15:31 ` [PATCH 1/5] regulator: act8865: fix parsing of platform data Beniamino Galvani
2014-06-22 15:31   ` Beniamino Galvani
2014-06-23  9:45   ` Yang, Wenyou
2014-06-23  9:45     ` Yang, Wenyou
2014-06-23  9:45     ` Yang, Wenyou
2014-06-27 16:09   ` Mark Brown [this message]
2014-06-27 16:09     ` Mark Brown
2014-06-22 15:31 ` [PATCH 2/5] regulator: act8865: set correct number of regulators in pdata Beniamino Galvani
2014-06-22 15:31   ` Beniamino Galvani
2014-06-23  9:45   ` Yang, Wenyou
2014-06-23  9:45     ` Yang, Wenyou
2014-06-23  9:45     ` Yang, Wenyou
2014-06-27 16:07   ` Mark Brown
2014-06-27 16:07     ` Mark Brown
2014-06-29  9:46     ` Beniamino Galvani
2014-06-29  9:46       ` Beniamino Galvani
2014-06-29  9:46       ` Beniamino Galvani
2014-07-03 15:55       ` Mark Brown
2014-07-03 15:55         ` Mark Brown
2014-07-03 15:58   ` Mark Brown
2014-07-03 15:58     ` Mark Brown
2014-06-22 15:31 ` [PATCH 3/5] regulator: act8865: prepare support for other act88xx devices Beniamino Galvani
2014-06-22 15:31   ` Beniamino Galvani
2014-06-23  9:46   ` Yang, Wenyou
2014-06-23  9:46     ` Yang, Wenyou
2014-06-23  9:46     ` Yang, Wenyou
2014-07-03 16:00   ` Mark Brown
2014-07-03 16:00     ` Mark Brown
2014-06-22 15:31 ` [PATCH 4/5] regulator: act8865: add support for act8846 Beniamino Galvani
2014-06-22 15:31   ` Beniamino Galvani
2014-06-23  9:46   ` Yang, Wenyou
2014-06-23  9:46     ` Yang, Wenyou
2014-06-23  9:46     ` Yang, Wenyou
2014-06-22 15:31 ` [PATCH 5/5] regulator: act8865: add act8846 to DT binding documentation Beniamino Galvani
2014-06-22 15:31   ` Beniamino Galvani

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=20140627160902.GR23300@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=b.galvani@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=heiko@sntech.de \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=wenyou.yang@atmel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.