06b3f44a97
If any memory allocation failed, goto alloc_status_switch leads to mutex_unlock(&context->ctx_lock) while context is NULL. The patch moves alloc_status_switch to handle error conditions in correct way. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
Kconfig | ||
lirc_bt829.c | ||
lirc_ene0100.h | ||
lirc_igorplugusb.c | ||
lirc_imon.c | ||
lirc_parallel.c | ||
lirc_parallel.h | ||
lirc_sasem.c | ||
lirc_serial.c | ||
lirc_sir.c | ||
lirc_ttusbir.c | ||
lirc_zilog.c | ||
Makefile | ||
TODO | ||
TODO.lirc_zilog |