commit | 8468ee81773675409c07753315e70b1e4105808d | [log] [tgz] |
---|---|---|
author | Abdulla Anam <abdullahanam@codeaurora.org> | Wed Mar 22 14:00:10 2017 +0530 |
committer | Shivendra Kakrania <shiven@codeaurora.org> | Wed May 24 11:58:37 2017 -0700 |
tree | 03627185475d48df4077332a00719537204c577e | |
parent | 49e8164ddec384595b82d7d500c58d71af088936 [diff] |
msm: vidc: Protect debug_buffer access in info_read with lock Serialize core_info_read & inst_info_read with lock so that multiple concurrent threads do not cause the write to overflow. Also have the bound check to avoid overflow in write_str function.. Change-Id: Ia18a4b94cafd69af1d367861f2499fc202f18e9f Signed-off-by: Abdulla Anam <abdullahanam@codeaurora.org> Signed-off-by: Shivendra Kakrania <shiven@codeaurora.org>