Skip to content
Commit b92b36ea authored by Dan Carpenter's avatar Dan Carpenter Committed by Tejun Heo
Browse files

workqueue: Fix an use after free in init_rescuer()



We need to preserve error code before freeing "rescuer".

Fixes: f187b697 ("workqueue: Use IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO.")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarLai Jiangshan <jiangshanlai@gmail.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent f187b697
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment