msm: camera: core: validation of session/device/link handle
This change is to validate session, device and link handle. Also, checks whether the device handle belongs to correct session handle or not. CRs-Fixed: 3496553 Change-Id: I6b86bf7d0908a280e90e085a3b3e1727facdf8c6 Signed-off-by: Karthik Dillibabu <quic_kard@quicinc.com>
这个提交包含在:

提交者
Camera Software Integration

父节点
ee92ff0476
当前提交
f1adead069
@@ -50,6 +50,9 @@
|
||||
#define CAM_REQ_MGR_MAX_HANDLES_V2 256
|
||||
#define MAX_LINKS_PER_SESSION 2
|
||||
|
||||
/* Interval for cam_info_rate_limit_custom() */
|
||||
#define CAM_RATE_LIMIT_INTERVAL_5SEC 5
|
||||
|
||||
/* V4L event type which user space will subscribe to */
|
||||
#define V4L_EVENT_CAM_REQ_MGR_EVENT (V4L2_EVENT_PRIVATE_START + 0)
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户