aboutsummaryrefslogtreecommitdiff
path: root/crypto/tcrypt.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-05-09 13:04:39 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2007-05-09 13:04:39 +1000
commit1605b8471d64c855bc2493abf3adf6a1ebc3e645 (patch)
tree9196656af011cb1b678b27fc76f47355134f3256 /crypto/tcrypt.h
parentf6259deacfd55607ae57cff422d3bc7694ea14e7 (diff)
[CRYPTO] cryptomgr: Fix use after free
By the time kthread_run returns the param may have already been freed so writing the returned thread_struct pointer to param is wrong. In fact, we don't need it in param anyway so this patch simply puts it on the stack. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/tcrypt.h')
0 files changed, 0 insertions, 0 deletions