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>
This commit is contained in:

committed by
Camera Software Integration

parent
ee92ff0476
commit
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)
|
||||
|
||||
|
Reference in New Issue
Block a user