msm: vidc: Fix race condition between s_fmt & query_ctrl
- In s_fmt, there might be a codec change and here we are free the ctrl handler, at the same time client may call query ctrl and this will lead to null pointer access. - To resolve null pointer access, do not free ctrl handler and add new codec controls to the same ctrl handler. Change-Id: Iee87d5cb4d65e31d405cb1fc9f82bebab696d027 Signed-off-by: Vedang Nagar <quic_vnagar@quicinc.com>
这个提交包含在:
@@ -1047,4 +1047,8 @@ struct msm_vidc_sfr {
|
||||
u8 rg_data[1];
|
||||
};
|
||||
|
||||
struct msm_vidc_ctrl_data {
|
||||
bool skip_s_ctrl;
|
||||
};
|
||||
|
||||
#endif // _MSM_VIDC_INTERNAL_H_
|
||||
|
在新工单中引用
屏蔽一个用户