]> git.baikalelectronics.ru Git - kernel.git/commit
stating: ccree: revert "staging: ccree: fix leak of import() after init()"
authorGilad Ben-Yossef <gilad@benyossef.com>
Sun, 7 Jan 2018 12:14:22 +0000 (12:14 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:27:23 +0000 (16:27 +0100)
commit52f6f836caab3d74aa4f51fbbdc21185fa2b26e4
tree5d16b6fedc0ddb9ebb90c34ba40d90ff39283e25
parent369b42d55f6af9c2e6da1396e6e969fae3acdfd8
stating: ccree: revert "staging: ccree: fix leak of import() after init()"

This reverts commit 116195dfd968 ("staging: ccree: fix leak of import()
after init()") and commit 4a337c142be9 ("staging: ccree: Uninitialized
return in ssi_ahash_import()").

This is the wrong solution and ends up relying on uninitialized memory,
although it was not obvious to me at the time.

Cc: stable@vger.kernel.org
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/ssi_hash.c