linux/drivers/staging/media
Colin Ian King 21f9f2ef7c [media] Staging: media/lirc: don't call put_ir_rx on rx twice
There is an exit path where rx is kfree'd on put_ir_rx and then
a jump to label out_put_xx will again kfree it with another
call to put_ir_rx.  Fix this by adding a new label that avoids
this 2nd call to put_ir_rx for this specific case.

Detected with CoverityScan, CID#145119 ("Use after free")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-04-17 12:09:52 -03:00
..
bcm2048 [media] media: bcm2048: fix several macros 2017-04-10 14:44:08 -03:00
cxd2099
davinci_vpfe staging/iio driver patches for 4.11-rc1 2017-02-22 12:14:01 -08:00
lirc [media] Staging: media/lirc: don't call put_ir_rx on rx twice 2017-04-17 12:09:52 -03:00
omap4iss [media] staging: omap4iss: fix coding style issue 2017-03-03 13:53:35 -03:00
platform/bcm2835 staging: bcm2835/mmal-vchiq: unlock on error in buffer_from_host() 2017-02-26 17:05:48 +01:00
Kconfig [media] s5p-cec: add cec-notifier support, move out of staging 2017-04-10 13:14:03 -03:00
Makefile [media] s5p-cec: add cec-notifier support, move out of staging 2017-04-10 13:14:03 -03:00