Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965367AbcKXLfP convert rfc822-to-8bit (ORCPT ); Thu, 24 Nov 2016 06:35:15 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41608 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965339AbcKXLfN (ORCPT ); Thu, 24 Nov 2016 06:35:13 -0500 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <147997746306.9316.227351186233378585.stgit@warthog.procyon.org.uk> <147997747766.9316.11606802798600210253.stgit@warthog.procyon.org.uk> To: Andrey Ryabinin Cc: dhowells@redhat.com, jmorris@namei.org, Dmitry Kasatkin , LKML , stable@vger.kernel.org, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, linux-ima-devel@lists.sourceforge.net, herbert@gondor.apana.org.au Subject: Re: [PATCH 2/2] MPI: Fix mpi_powm() when exponent is 0 and the result has no limbs MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5846.1479987309.1@warthog.procyon.org.uk> Content-Transfer-Encoding: 8BIT Date: Thu, 24 Nov 2016 11:35:09 +0000 Message-ID: <5847.1479987309@warthog.procyon.org.uk> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Thu, 24 Nov 2016 11:35:12 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 498 Lines: 14 Andrey Ryabinin wrote: > I'm also made a fix for this yesterday - > http://lkml.kernel.org/r/1479918484-31952-1-git-send-email-aryabinin@virtuozzo.com I should add a record to the MAINTAINERS file that directs patches to MPI to keyrings@vger.kernel.org so that I see things like this. > The only small difference is that in my the limb space is not > allocated when it's not needed, i.e. when res->nlimbs == 0. I guess if nlimbs is 0 then the value is 0, right? David