[Letux-kernel] [PATCH 0/2] power: generic-adc-battery: fix out of bounds write

Andreas Kemnade andreas at kemnade.info
Tue Jun 26 18:52:26 CEST 2018


what about upstreaming the other simple fixes in that branch as
well? At first glance some look like things which should go in without


On Tue, 26 Jun 2018 15:28:28 +0200
"H. Nikolaus Schaller" <hns at goldelico.com> wrote:

> This patch set addresses two bugs in the gab_probe() function which are
> there since the first commit in 3.7-rc1:
> 1. there is an out of bounds write access by a miscalculated destination
>    address for the memcpy()
> 2. if iio channels are already represented by default properties, they
>    appear as duplicates in uevent
> H. Nikolaus Schaller (2):
>   power: generic-adc-battery: fix out-of-bounds write when copying
>     channel properties
>   power: generic-adc-battery: check for duplicate properties copied from
>     iio channels
>  drivers/power/supply/generic-adc-battery.c | 25 +++++++++++++++----------
>  1 file changed, 15 insertions(+), 10 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20180626/a850efc7/attachment.asc>

More information about the Letux-kernel mailing list