Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1791016rwi; Thu, 27 Oct 2022 22:05:58 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4++sdgQNR7Mt2VLehzEq1hoKskzTlkhwWPQDB0iOUI2D+aTY67oTByzFEMICwJ1YzWwk8N X-Received: by 2002:a17:90a:4607:b0:202:e22d:4892 with SMTP id w7-20020a17090a460700b00202e22d4892mr13726942pjg.220.1666933558008; Thu, 27 Oct 2022 22:05:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666933558; cv=none; d=google.com; s=arc-20160816; b=q6aWdG0+fDdcXlyhYN31DZ1YI/mUSKDNcZmEIxgPEYO6CdtQ0yp2IbxL+Neoi/J7kI VVgbjakbYOv7FThOpXEGZMizFOqyhHm4X1CfrFSCHBlr2n64rErOs2PMyt61plku2q4T xfnqzW5lT6DbXADy+ojhnq13zqt+mAHJbhjKnDilX00nwPfAN5mNdUrEIthCcs4SFO5T SZFh5t9EfRYz56g6B8vQ8OUbga0u+t+HFrN2h76kNBgPU7JcbTekYIUYC6xuth6GRV+h BHzBhcLqFsYllnNw6pkdr9PaNw2LfQ1ejip0Ud4WDChS9gUm8fBp1i/uD3/I/zuBp4TX akhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=GiRsUF7LPcImH0amM5mObReE56Hd/OBBz6s/su3SrAk=; b=vongF5gxhL0IvGU/EnQtFClwq1hp02rIIqPX1yYIWETh8/UR/y7yDiVS1+rE3ZzDfN GRXYVb3iXbsRWZqezbA5mk8915lo0KvvxUG/gMgrQuoLK3bOfBKM6n+aOPXnhHSlZKJV EiY+3HJrpD0y86tvd0E3h017J5jQ8tJgh/B/mlJLkAffiR/cLcj6y7KFrQ7xf4jM4uun CsQ/9Ep2BSOgWeT0xjA48GD7ifHXUls13g7eWAf7M4iHPiziuO7ARISafh/a10miPKUz K3jekVjX0HgHrXT5ACln8N5xc4DLAPvHby8gdxAwRcb/k8cymEh2f1HmLV9PLBJiSWPB dJww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oj17-20020a17090b4d9100b00212fd5f1ad5si9304862pjb.160.2022.10.27.22.05.44; Thu, 27 Oct 2022 22:05:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229489AbiJ1FD0 (ORCPT + 99 others); Fri, 28 Oct 2022 01:03:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229455AbiJ1FD0 (ORCPT ); Fri, 28 Oct 2022 01:03:26 -0400 Received: from formenos.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54F461AFA92; Thu, 27 Oct 2022 22:03:25 -0700 (PDT) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1ooHW2-007UwT-3a; Fri, 28 Oct 2022 13:03:23 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 28 Oct 2022 13:03:22 +0800 Date: Fri, 28 Oct 2022 13:03:22 +0800 From: Herbert Xu To: Kai Ye Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/3] crypto: hisilicon/qm - some misc-fixes by fuzz test Message-ID: References: <20221022011746.27197-1-yekai13@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221022011746.27197-1-yekai13@huawei.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Sat, Oct 22, 2022 at 01:17:43AM +0000, Kai Ye wrote: > Resolve stack overflow risks for algqos api. Invalid parameter checking is > added. And simplify some code. > > changes v1->v2: > - modify a comment. > changes v2->v3: > - document the stack overflow cause. > > Kai Ye (3): > crypto: hisilicon/qm - increase the memory of local variables > crypto: hisilicon/qm - add pci bdf number check > crypto: hisilicon/qm - delete redundancy check > > drivers/crypto/hisilicon/qm.c | 43 +++++++++++------------------------ > 1 file changed, 13 insertions(+), 30 deletions(-) > > -- > 2.17.1 All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt