From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp99.iad3a.emailsrvr.com ([173.203.187.99]:46252 "EHLO smtp99.iad3a.emailsrvr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754793AbcEWLbj (ORCPT ); Mon, 23 May 2016 07:31:39 -0400 Subject: Re: [PATCH] spi: spidev: fix possible arithmetic overflow for multi-transfer message To: Mark Brown , Dmitry Torokhov References: <1427133027-8134-1-git-send-email-abbotti@mev.co.uk> <20160523111521.GQ8206@sirena.org.uk> Cc: linux-spi , Dan Carpenter , lkml , "3.8+" From: Ian Abbott Message-ID: <5742E839.3040804@mev.co.uk> Date: Mon, 23 May 2016 12:23:37 +0100 MIME-Version: 1.0 In-Reply-To: <20160523111521.GQ8206@sirena.org.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: 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 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: )=- -=( Web: http://www.mev.co.uk/ )=-