]> git.ipfire.org Git - thirdparty/gnutls.git/commit
padlock: fix exception in wrap_padlock_hash_fast
authorDmitry Baryshkov <dbaryshkov@gmail.com>
Fri, 27 Mar 2020 23:31:10 +0000 (02:31 +0300)
committerDmitry Baryshkov <dbaryshkov@gmail.com>
Fri, 27 Mar 2020 23:33:15 +0000 (02:33 +0300)
commit55a3cb0fa4b46c52b610125e080fae306dbf355d
tree31d53138ce6fe579e00c488770b88507676a58a9
parentf8918981407814dcdc9d70afd00ebf22df04fade
padlock: fix exception in wrap_padlock_hash_fast

wrap_padlock_hash_fast() allocates a context on a stack (via local
variable) then tries to free it by calling wrap_padlock_hash_deinit()
causing a crash. Remove a call to deinit() to fix a crash.

Fixes #930

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
lib/accelerated/x86/sha-padlock.c