From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754684AbcEWLXl (ORCPT ); Mon, 23 May 2016 07:23:41 -0400 Received: from smtp97.iad3a.emailsrvr.com ([173.203.187.97]:42043 "EHLO smtp97.iad3a.emailsrvr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754670AbcEWLXk (ORCPT ); Mon, 23 May 2016 07:23:40 -0400 X-Auth-ID: abbotti@mev.co.uk X-Sender-Id: abbotti@mev.co.uk 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 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0 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: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/ )=-