From: Herbert Xu Date: Wed, 9 May 2007 03:04:39 +0000 (+1000) Subject: [CRYPTO] cryptomgr: Fix use after free X-Git-Tag: v2.6.22-rc1~343^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1605b8471d64c855bc2493abf3adf6a1ebc3e645;p=pandora-kernel.git [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 --- Reading git-diff-tree failed