Re: [PATCH] spi: spidev: fix possible arithmetic overflow for multi-transfer message

From: Ian Abbott
Date: Mon May 23 2016 - 07:23:44 EST


On 23/05/16 12:15, Mark Brown wrote:
On Sat, May 21, 2016 at 09:50:35AM -0700, Dmitry Torokhov wrote:
On Mon, Mar 23, 2015 at 10:50 AM, Ian Abbott <abbotti@xxxxxxxxx> wrote:
`spidev_message()` sums the lengths of the individual SPI transfers to
determine the overall SPI message length. It restricts the total
length, returning an error if too long, but it does not check for

As documented in SubmittingPatches please send patches to the
maintainers for the code you would like to change. The normal kernel
workflow is that people apply patches from their inboxes, if they aren't
copied they are likely to not see the patch at all and it is much more
difficult to apply patches.


In this case, Dmitry was replying to my patch that has already been applied over a year ago. :)

--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@xxxxxxxxx> )=-
-=( Web: http://www.mev.co.uk/ )=-