]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
staging: ccree: Uninitialized return in ssi_ahash_import()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 5 Dec 2017 14:37:17 +0000 (17:37 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Dec 2017 14:49:26 +0000 (15:49 +0100)
commitaece09024414b54158e03aa45f4a4436e7cb996c
tree09be008cefe5ddd3e1e2590b3498853ef4414b64
parent73996933b53ff396d63a7fccd8e824758634dc19
staging: ccree: Uninitialized return in ssi_ahash_import()

The return value isn't initialized on some success paths.

Fixes: c5f39d07860c ("staging: ccree: fix leak of import() after init()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/ssi_hash.c