diff options
| author | 2020-05-08 18:07:40 +0300 | |
|---|---|---|
| committer | 2020-05-11 10:25:42 -0400 | |
| commit | b92b36eadf4d7fa4a34f048c2a3bb61a735a885e (patch) | |
| tree | 509e65da7d8a1484708b97e6d2098758864c02e3 /drivers/fpga/machxo2-spi.c | |
| parent | workqueue: Use IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO. (diff) | |
| download | linux-dev-b92b36eadf4d7fa4a34f048c2a3bb61a735a885e.tar.xz linux-dev-b92b36eadf4d7fa4a34f048c2a3bb61a735a885e.zip | |
workqueue: Fix an use after free in init_rescuer()
We need to preserve error code before freeing "rescuer".
Fixes: f187b6974f6df ("workqueue: Use IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Lai Jiangshan <jiangshanlai@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions
