linux/drivers/media/rc
Jiri Slaby a9bd87c232 [media] MEDIA: ttusbir, fix double free
rc_unregister_device already calls rc_free_device to free the passed
device. But in one of ttusbir's probe fail paths, we call
rc_unregister_device _and_ rc_free_device. This is wrong and results
in a double free.
Instead, set rc to NULL resulting in rc_free_device being a noop.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-04-08 06:54:01 -03:00
..
keymaps [media] rc/keymaps: add RC keytable for MyGica X8507 2012-12-23 19:42:14 -02:00
ati_remote.c [media] rc: Make probe cleanup goto labels more verbose 2012-12-21 18:26:08 -02:00
ene_ir.c Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
ene_ir.h treewide: Fix comment and string typo 'bufer' 2011-12-06 09:53:40 +01:00
fintek-cir.c Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
fintek-cir.h [media] fintek-cir: add support for newer chip version 2012-02-14 16:53:53 -02:00
gpio-ir-recv.c [media] media: rc: gpio-ir-recv: add support for device tree parsing 2013-02-13 17:40:23 -02:00
iguanair.c [media] iguanair: intermittent initialization failure 2013-02-05 19:00:48 -02:00
imon.c [media] media/rc/imon.c: avoid flooding syslog with "unknown keypress" when keypad is pressed 2013-03-21 18:37:32 -03:00
ir-jvc-decoder.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ir-lirc-codec.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ir-mce_kbd-decoder.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ir-nec-decoder.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ir-raw.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ir-rc5-decoder.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ir-rc5-sz-decoder.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ir-rc6-decoder.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ir-rx51.c [media] Media: remove incorrect __init/__exit markups 2013-03-18 16:59:59 -03:00
ir-sanyo-decoder.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ir-sony-decoder.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
ite-cir.c Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
ite-cir.h [media] ite-cir: 8709 needs to use pnp resource 2 2011-07-01 16:31:38 -03:00
Kconfig [media] ir: IR_RX51 only works on OMAP2 2013-03-18 21:02:04 -03:00
lirc_dev.c lirc: get rid of bogus checks 2013-02-26 02:46:04 -05:00
Makefile [media] media: rc: Introduce RX51 IR transmitter driver 2012-08-13 16:53:45 -03:00
mceusb.c [media] mceusb: move check earlier to make smatch happy 2013-02-13 17:33:53 -02:00
nuvoton-cir.c Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
nuvoton-cir.h [media] nuvoton-cir: carrier detect support is broken - remove it 2012-10-27 18:10:07 -02:00
rc-core-priv.h [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
rc-loopback.c [media] rc-core: add separate defines for protocol bitmaps and numbers 2012-10-27 11:49:51 -02:00
rc-main.c [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
redrat3.c [media] redrat3: missing endian conversions and warnings 2013-03-19 15:14:04 -03:00
streamzap.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
ttusbir.c [media] MEDIA: ttusbir, fix double free 2013-04-08 06:54:01 -03:00
winbond-cir.c [media] winbond-cir: only enable higher sample resolution if needed 2013-02-05 18:59:23 -02:00