All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] power: generic-adc-battery: fix out of bounds write
@ 2018-06-26 13:28 H. Nikolaus Schaller
  2018-06-26 13:28 ` [PATCH 1/2] power: generic-adc-battery: fix out-of-bounds write when copying channel properties H. Nikolaus Schaller
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: H. Nikolaus Schaller @ 2018-06-26 13:28 UTC (permalink / raw)
  To: Sebastian Reichel, anish kumar, Krzysztof Kozlowski,
	Anton Vorontsov, Jonathan Cameron
  Cc: linux-pm, linux-kernel, letux-kernel, kernel,
	H. Nikolaus Schaller

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(-)

-- 
2.12.2

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-07-06 17:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-26 13:28 [PATCH 0/2] power: generic-adc-battery: fix out of bounds write H. Nikolaus Schaller
2018-06-26 13:28 ` [PATCH 1/2] power: generic-adc-battery: fix out-of-bounds write when copying channel properties H. Nikolaus Schaller
2018-06-26 13:28 ` [PATCH 2/2] power: generic-adc-battery: check for duplicate properties copied from iio channels H. Nikolaus Schaller
2018-07-06 17:00 ` [PATCH 0/2] power: generic-adc-battery: fix out of bounds write Sebastian Reichel

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.