summaryrefslogtreecommitdiff
path: root/drivers/media/usb/go7007/go7007-loader.c
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2016-10-31 20:52:27 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-21 18:28:11 +0300
commitc77d17c0985a70fa3cd2ecde1e4f4be0dd5e9e12 (patch)
treef5464ed1bb40b45dfb28e417cefde361bc000af1 /drivers/media/usb/go7007/go7007-loader.c
parentafbb110172b93e44a3fd1b5afb3a71f7f9da4406 (diff)
downloadlinux-c77d17c0985a70fa3cd2ecde1e4f4be0dd5e9e12.tar.xz
[media] lirc: use-after free while reading from device and unplugging
Many lirc drivers have their own receive buffers which are freed on unplug (e.g. ir_lirc_unregister). This means that ir->buf->wait_poll will be freed directly after unplug so do not remove yourself from the wait queue. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/go7007/go7007-loader.c')
0 files changed, 0 insertions, 0 deletions