Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935833AbcJUVen (ORCPT ); Fri, 21 Oct 2016 17:34:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42482 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933445AbcJUVem (ORCPT ); Fri, 21 Oct 2016 17:34:42 -0400 Subject: Re: [PATCH RESEND] hwrng: core - don't pass stack allocated buffer to rng->read() To: "Richard W.M. Jones" , Andy Lutomirski References: <20161021204809.14068-1-lersek@redhat.com> <20161021211739.GR11243@redhat.com> Cc: linux-crypto@vger.kernel.org, "linux-kernel@vger.kernel.org" , stable , Amit Shah , Andy Lutomirski , Herbert Xu , Kees Cook , Matt Mackall From: Laszlo Ersek Message-ID: Date: Fri, 21 Oct 2016 23:34:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161021211739.GR11243@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Fri, 21 Oct 2016 21:34:42 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 425 Lines: 10 On 10/21/16 23:17, Richard W.M. Jones wrote: > On Fri, Oct 21, 2016 at 02:04:27PM -0700, Andy Lutomirski wrote: >> https://git.kernel.org/cgit/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=6d4952d9d9d4dc2bb9c0255d95a09405a1e958f7 > > I have tested this one, and it also fixes the bug I was seeing. > > Thanks Laszlo as well for his fix, and sorry for not finding the > patch above first. No problem, it was fun :)