[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20161025095040.GG1597@katana>
Date:   Tue, 25 Oct 2016 11:50:40 +0200
From:   Wolfram Sang <wsa@...-dreams.de>
To:     Hoan Tran <hotran@....com>
Cc:     linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org,
        Phil Endecott <phil_gjouf_endecott@...zphil.org>,
        Loc Ho <lho@....com>, tnhuynh@....com, patches@....com
Subject: Re: [PATCH] i2c: xgene: Avoid dma_buffer overrun
On Mon, Oct 10, 2016 at 10:13:10AM -0700, Hoan Tran wrote:
> SMBus block command uses the first byte of buffer for the data length.
> The dma_buffer should be increased by 1 to avoid the overrun issue.
> 
> Reported-by: Phil Endecott <phil_gjouf_endecott@...zphil.org>
> Signed-off-by: Hoan Tran <hotran@....com>
Added stable and applied to for-current, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists
 
