linux/drivers/staging/lirc
Alexey Khoroshilov 06b3f44a97 staging: lirc_sasem: fix NULL pointer dereference in sasem_probe
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>
2011-09-06 11:46:21 -07:00
..
Kconfig [media] lirc: remove staging lirc_it87 and lirc_ite8709 drivers 2011-03-22 17:20:13 -03:00
lirc_bt829.c staging/lirc_bt829: Return -ENODEV when no hardware is found. 2011-07-18 13:22:52 -07:00
lirc_ene0100.h Fix common misspellings 2011-03-31 11:26:23 -03:00
lirc_igorplugusb.c
lirc_imon.c staging: lirc: fix mismatch in mutex lock-unlock in imon_probe 2011-09-06 11:46:20 -07:00
lirc_parallel.c staging/lirc_parallel: remove pointless prototypes. 2011-07-18 13:22:52 -07:00
lirc_parallel.h
lirc_sasem.c staging: lirc_sasem: fix NULL pointer dereference in sasem_probe 2011-09-06 11:46:21 -07:00
lirc_serial.c [media] [staging] lirc_serial: allocate irq at init time 2011-07-01 16:32:45 -03:00
lirc_sir.c [media] [staging] lirc_sir: fix unused-but-set warnings 2011-06-11 09:02:23 -03:00
lirc_ttusbir.c Remove unneeded version.h includes from drivers/staging/lirc/ 2011-07-05 10:39:39 -07:00
lirc_zilog.c Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-07-25 23:26:34 -07:00
Makefile [media] lirc: remove staging lirc_it87 and lirc_ite8709 drivers 2011-03-22 17:20:13 -03:00
TODO
TODO.lirc_zilog [media] lirc_zilog: Update TODO list based on work completed and revised plans 2011-03-22 19:24:01 -03:00