android_kernel_oneplus_msm8998/drivers/media
Darshan Kumsi Srinivasa 215ee16770 msm: vidc: do not set video state to DEINIT very early
If video state set to DEINIT before processing all frame done
packets in the list may create video failures as explained below,
the client communication to video hardware will fail because of
DEINIT state and client will close the session upon failure which
will happen in parallel to response thread processing the response
packets in the list. It may happen that client already free'd the
buffer references and response thread might access the same buffer
reference and results in use-after-free memory fault. So In case
of sys error from video hardware, set video state to DEINIT after
processing all packets in the list to avoid use-after-free failure

Change-Id: I688c3ec3feb2b5621d75c4da93ee9870aa0e6dfe
Signed-off-by: Darshan Kumsi Srinivasa <darssr@codeaurora.org>
Signed-off-by: Sanjay Singh <sisanj@codeaurora.org>
2019-04-29 16:08:11 +05:30
..
cec cec: Fix runtime BUG when (CONFIG_RC_CORE && !CEC_CAP_RC) 2017-10-18 14:46:23 +08:00
common media: siano: get rid of __le32/__le16 cast warnings 2018-08-06 16:24:37 +02:00
dvb-core Merge android-4.4.139 (7ba5557) into msm-4.4 2018-07-03 12:24:56 -07:00
dvb-frontends media: [RESEND] media: dvb-frontends: Add delay to Si2168 restart 2018-03-24 10:58:47 +01:00
firewire
i2c adv7481: Modify EDID array to support 1080p60Hz 2018-09-05 20:58:35 -07:00
mmc
pci media: saa7164: Fix driver name in debug output 2018-08-06 16:24:36 +02:00
platform msm: vidc: do not set video state to DEINIT very early 2019-04-29 16:08:11 +05:30
radio media: si470x: fix __be16 annotations 2018-08-06 16:24:39 +02:00
rc mceusb: sporadic RX truncation corruption fix 2018-04-13 19:50:18 +02:00
tuners media: r820t: fix r820t_write_reg for KASAN 2018-02-22 15:45:02 +01:00
usb Merge android-4.4.139 (7ba5557) into msm-4.4 2018-07-03 12:24:56 -07:00
v4l2-core Merge android-4.4.146 (13962260) into msm-4.4 2018-08-07 15:36:56 +05:30
cec-edid.c [media] cec-edid: check for IEEE identifier 2017-05-25 11:22:08 +08:00
cec-notifier.c [media] media: add CEC notifier support 2017-06-05 05:45:08 -07:00
Kconfig [media] media: add CEC notifier support 2017-06-05 05:45:08 -07:00
Makefile [media] media: add CEC notifier support 2017-06-05 05:45:08 -07:00
media-device.c
media-devnode.c
media-entity.c