]> 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)
commit1c37a3a7e6a53e8b90d174dc3ec4bb8ff40e4ce0
tree5d16b6fedc0ddb9ebb90c34ba40d90ff39283e25
parent9f62781964ceb8884942539ab08f7d3d28beb357
stating: ccree: revert "staging: ccree: fix leak of import() after init()"

This reverts commit b96786e1e52c ("staging: ccree: fix leak of import()
after init()") and commit 3b8e3e36c677 ("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