]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00291843 V4L2_PXP: fix a dangling pointer accessing issue
authorFancy Fang <B47543@freescale.com>
Thu, 12 Dec 2013 05:52:26 +0000 (13:52 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 16 Jun 2014 16:09:12 +0000 (18:09 +0200)
commitf9daf39dd894c3b35bd9e2aa8a57bce46d4e9180
tree1741c505ae1bfe945c026a1c1bb49a1b7b8930ef
parent9cb28b7ae16e2565691fe3fb1c54501d5be62a60
ENGR00291843 V4L2_PXP: fix a dangling pointer accessing issue

After dynamically alloc/free tx descriptors enabled, the descriptors
will be freed in PXP ISR which happens before pxp_buf_free() is called.

Signed-off-by: Fancy Fang <B47543@freescale.com>
drivers/media/platform/mxc/output/mxc_pxp_v4l2.c