linux/drivers/media
Hans de Goede 78c87e863b [media] v4l2-event: Remove pending events from fh event queue when unsubscribing
The kev pointers inside the pending events queue (the available queue) of the
fh point to data inside the sev, unsubscribing frees the sev, thus making these
pointers point to freed memory!

This patch fixes these dangling pointers in the available queue by removing
all matching pending events on unsubscription.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-11-08 10:29:29 -02:00
..
common [media] mxl5005s: fix compiler warning 2011-09-06 14:43:43 -03:00
dvb [media] mxl111sf: fix build warning 2011-11-07 13:37:43 -02:00
radio [media] media: tea5764: reconcile Kconfig symbol and macro 2011-11-03 18:33:54 -02:00
rc [media] rc/ir-lirc-codec: cleanup __user tags 2011-10-11 17:48:36 -03:00
video [media] v4l2-event: Remove pending events from fh event queue when unsubscribing 2011-11-08 10:29:29 -02:00
Kconfig
Makefile
media-device.c
media-devnode.c
media-entity.c