[v3,0/3] crypto: hisilicon/qm - some misc-fixes by fuzz test

Message ID 20221022011746.27197-1-yekai13@huawei.com
Headers
Series crypto: hisilicon/qm - some misc-fixes by fuzz test |

Message

yekai (A) Oct. 22, 2022, 1:17 a.m. UTC
  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(-)
  

Comments

Herbert Xu Oct. 28, 2022, 5:03 a.m. UTC | #1
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.