1
0
Fork 0
alistair23-linux/drivers/media/rc
Sean Young b40769ee2e [media] lirc: fix error paths in lirc_cdev_add()
"c77d17c0 [media] lirc: use-after free" introduces two problems:
cdev_del() can be called with a NULL argument, and the kobject_put()
path will cause a double free.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-12-01 12:46:00 -02:00
..
img-ir [media] rc: split nec protocol into its three variants 2016-09-22 11:46:49 -03:00
keymaps [media] Convert Wideview WT220 DVB USB driver to rc-core 2016-07-09 12:10:33 -03:00
Kconfig [media] lirc_serial: move out of staging and rename to serial_ir 2016-11-22 06:11:46 -02:00
Makefile [media] lirc_serial: move out of staging and rename to serial_ir 2016-11-22 06:11:46 -02:00
ati_remote.c [media] rc: don't break long lines 2016-10-21 10:07:34 -02:00
ene_ir.c [media] rc: don't break long lines 2016-10-21 10:07:34 -02:00
ene_ir.h [media] ene_ir: don't use pr_debug after all 2013-07-29 11:49:45 -03:00
fintek-cir.c [media] squash lines for simple wrapper functions 2016-11-16 13:28:40 -02:00
fintek-cir.h [media] rc: Fir warnings on m68k arch 2013-11-08 09:45:37 -02:00
gpio-ir-recv.c [media] rc: gpio-ir-recv: add timeout on idle 2015-11-19 07:46:33 -02:00
igorplugusb.c [media] rc: split nec protocol into its three variants 2016-09-22 11:46:49 -03:00
iguanair.c [media] rc: make s_tx_carrier consistent 2016-07-15 11:54:23 -03:00
imon.c [media] imon: use complete() instead of complete_all() 2016-10-24 17:39:43 -02:00
ir-hix5hd2.c [media] ir-hix5hd2: make hisilicon,power-syscon property deprecated 2016-11-22 16:20:31 -02:00
ir-jvc-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-lirc-codec.c [media] redrat3: make hardware timeout configurable 2016-07-15 12:01:46 -03:00
ir-mce_kbd-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-nec-decoder.c [media] rc: split nec protocol into its three variants 2016-09-22 11:46:49 -03:00
ir-rc5-decoder.c [media] Fix RC5 decoding with Fintek CIR chipset 2016-07-09 11:47:28 -03:00
ir-rc6-decoder.c [media] rc: rc6 decoder should report protocol correctly 2016-09-22 11:42:29 -03:00
ir-rx51.c ir-rx51: use hrtimer instead of dmtimer 2016-06-29 21:54:35 -07:00
ir-sanyo-decoder.c [media] sanyo decoder: address was being truncated 2016-11-22 10:34:55 -02:00
ir-sharp-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-sony-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-xmp-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ite-cir.c [media] ite-cir: initialize use_demodulator before using it 2016-10-24 17:19:28 -02:00
ite-cir.h [media] ite-cir: 8709 needs to use pnp resource 2 2011-07-01 16:31:38 -03:00
lirc_dev.c [media] lirc: fix error paths in lirc_cdev_add() 2016-12-01 12:46:00 -02:00
mceusb.c [media] mceusb: remove pointless mce_flush_rx_buffer function 2016-11-23 13:49:36 -02:00
meson-ir.c [media] rc: meson-ir: Fix module autoload 2016-11-16 13:20:11 -02:00
nuvoton-cir.c [media] media: rc: nuvoton: replace usage of spin_lock_irqsave in ISR 2016-11-18 17:08:15 -02:00
nuvoton-cir.h [media] media: rc: nuvoton: rename spinlock nvt_lock 2016-11-18 17:07:07 -02:00
rc-core-priv.h [media] media: rc: raw: improve FIFO handling 2016-01-25 12:38:09 -02:00
rc-ir-raw.c [media] rc: ir-raw: change type of available_protocols to atomic64_t 2016-10-24 18:16:06 -02:00
rc-loopback.c Revert "[media] rc: rc-loopback: Add loopback of filter scancodes" 2015-08-19 07:02:53 -03:00
rc-main.c [media] rc-main: clear rc_map.name in ir_free_table() 2016-11-18 14:31:34 -02:00
redrat3.c [media] redrat3: increase set size for lengths to maximum 2016-11-21 12:31:54 -02:00
serial_ir.c [media] serial_ir: fix reference to 8250 serial code 2016-11-22 06:17:44 -02:00
st_rc.c [media] media: st-rc: remove misuse of IRQF_NO_SUSPEND flag 2015-11-19 06:46:05 -02:00
streamzap.c [media] rc: don't break long lines 2016-10-21 10:07:34 -02:00
sunxi-cir.c [media] rc: sunxi-cir: support module autoloading 2016-03-03 12:42:34 -03:00
ttusbir.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
winbond-cir.c [media] winbond-cir: use name without space for pnp driver 2016-11-21 12:18:29 -02:00