Re: [PATCH 1/5] regulator: act8865: fix parsing of platform data

From: Mark Brown
Date: Fri Jun 27 2014 - 12:09:39 EST


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: signature.asc
Description: Digital signature