android_kernel_xiaomi_sm8350/msm/vidc
Govindaraj Rajagopal 9fed96ca68 msm: vidc: add check to avoid out-of-buffer write
Possibility of dereferencing userspace ptr in kernel for
invalid cmd. So added check to return error if unsupported
cmd is given as input to ioctl.

Change-Id: I3466fbd06e5b600f748824b9e16bcfdb4438bdef
Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
2019-06-23 13:15:14 +05:30
..
fixedpoint.h techpack: video: Video driver kernel project initial snapshot 2019-05-02 22:31:44 -07:00
hfi_ar50.c techpack: video: Updating video kernel snapshot 2019-05-02 23:10:10 -07:00
hfi_common.c Merge "msm: vidc: add sanity checks for clocks and regulators" 2019-06-14 23:41:47 -07:00
hfi_common.h msm: vidc: add sanity checks for clocks and regulators 2019-06-11 16:41:38 -07:00
hfi_io_common.h techpack: video: Updating video kernel snapshot 2019-05-02 23:10:10 -07:00
hfi_iris1.c msm: vidc: enhance CVP usage functionality 2019-05-07 15:26:43 -07:00
hfi_iris2.c msm-vidc: reduce max_tries count to 1000 2019-06-03 15:11:36 -07:00
hfi_packetization.c msm: vidc: revise debug levels 2019-05-27 13:37:45 +08:00
hfi_packetization.h techpack: video: Video driver kernel project initial snapshot 2019-05-02 22:31:44 -07:00
hfi_response_handler.c msm: vidc: revise debug levels 2019-05-27 13:37:45 +08:00
msm_cvp_external.c msm: vidc: amend cvp module structures 2019-05-31 13:00:11 -07:00
msm_cvp_external.h msm: vidc: amend cvp module structures 2019-05-31 13:00:11 -07:00
msm_cvp_internal.c msm: vidc: revise debug levels 2019-05-27 13:37:45 +08:00
msm_cvp_internal.h techpack: video: Video driver kernel project initial snapshot 2019-05-02 22:31:44 -07:00
msm_smem.c msm: vidc: revise debug levels 2019-05-27 13:37:45 +08:00
msm_v4l2_private.c techpack: video: Video driver kernel project initial snapshot 2019-05-02 22:31:44 -07:00
msm_v4l2_private.h techpack: video: Video driver kernel project initial snapshot 2019-05-02 22:31:44 -07:00
msm_v4l2_vidc.c msm: vidc: revise debug levels 2019-05-27 13:37:45 +08:00
msm_vdec.c msm: vidc: amend buffer counts calculation 2019-06-13 17:17:10 -07:00
msm_vdec.h techpack: video: Video driver kernel project initial snapshot 2019-05-02 22:31:44 -07:00
msm_venc.c msm: venc: Modify vbvdelay logic 2019-06-18 12:55:32 -07:00
msm_venc.h msm: vidc: Provide default profile type in s_fmt 2019-06-11 10:25:19 -07:00
msm_vidc_buffer_calculations.c Merge "msm: vidc: fix encoder reference buffer count" 2019-06-19 17:21:49 -07:00
msm_vidc_buffer_calculations.h msm: vidc: amend buffer counts calculation 2019-06-13 17:17:10 -07:00
msm_vidc_bus_iris1.c msm: vidc: add VIDC_BUS log mask 2019-06-11 13:44:52 +08:00
msm_vidc_bus_iris2.c msm: vidc: Add bw for cbcr dbp read and write 2019-06-13 14:57:40 -07:00
msm_vidc_bus.h msm: vidc: Initialize max cf and max cr values 2019-06-13 14:51:05 -07:00
msm_vidc_clocks.c msm: venc: Modify vbvdelay logic 2019-06-18 12:55:32 -07:00
msm_vidc_clocks.h msm: venc: Modify vbvdelay logic 2019-06-18 12:55:32 -07:00
msm_vidc_common.c Merge "msm: vidc: Add bw for cbcr dbp read and write" 2019-06-14 21:55:19 -07:00
msm_vidc_common.h msm: vidc: decide batching while configuration 2019-06-11 10:16:12 -07:00
msm_vidc_debug.c msm: vidc: revise debug levels 2019-05-27 13:37:45 +08:00
msm_vidc_debug.h Merge "msm: vidc: add VIDC_BUS log mask" 2019-06-12 20:11:55 -07:00
msm_vidc_internal.h msm: vidc: Use frame statistics for decode bw calculations 2019-06-13 14:51:15 -07:00
msm_vidc_platform.c Merge "msm-vidc: Update capabilities for VP8 codec" 2019-06-20 10:49:53 -07:00
msm_vidc_res_parse.c msm: vidc: revise debug levels 2019-05-27 13:37:45 +08:00
msm_vidc_res_parse.h techpack: video: Video driver kernel project initial snapshot 2019-05-02 22:31:44 -07:00
msm_vidc_resources.h msm: vidc: reject sessions based on max mbpf 2019-05-22 16:27:31 -07:00
msm_vidc.c msm: vidc: add check to avoid out-of-buffer write 2019-06-23 13:15:14 +05:30
msm_vidc.h techpack: video: Video driver kernel project initial snapshot 2019-05-02 22:31:44 -07:00
vidc_hfi_api.h msm: vidc: remove structure vidc_hal_session_init_done 2019-05-09 11:11:59 -07:00
vidc_hfi_helper.h msm: vidc: add additional check to avoid out of bound access 2019-06-11 10:16:06 +05:30
vidc_hfi.c techpack: video: Updating video kernel snapshot 2019-05-02 23:10:10 -07:00
vidc_hfi.h msm: vidc: New hfi macro for hdr10 histogram extradata 2019-05-17 16:35:15 -07:00