Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935602AbcJUVRq (ORCPT ); Fri, 21 Oct 2016 17:17:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52166 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933575AbcJUVRo (ORCPT ); Fri, 21 Oct 2016 17:17:44 -0400 Date: Fri, 21 Oct 2016 22:17:39 +0100 From: "Richard W.M. Jones" To: Andy Lutomirski Cc: Laszlo Ersek , linux-crypto@vger.kernel.org, "linux-kernel@vger.kernel.org" , stable , Amit Shah , Andy Lutomirski , Herbert Xu , Kees Cook , Matt Mackall Subject: Re: [PATCH RESEND] hwrng: core - don't pass stack allocated buffer to rng->read() Message-ID: <20161021211739.GR11243@redhat.com> References: <20161021204809.14068-1-lersek@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Fri, 21 Oct 2016 21:17:43 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 660 Lines: 16 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. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW