-
- Downloads
sh: intc: Fix use-after-free bug in register_intc_controller()
In the error handling for this function, d is freed without ever removing it from intc_list which would lead to a use after free. To fix this, let's only add it to the list after everything has succeeded. Fixes: 2dcec7a9 ("sh: intc: set_irq_wake() support") Signed-off-by:Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by:
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Signed-off-by:
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Loading
Please register or sign in to comment