Skip to content
Commit 8468ee81 authored by Abdulla Anam's avatar Abdulla Anam Committed by Shivendra Kakrania
Browse files

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: default avatarAbdulla Anam <abdullahanam@codeaurora.org>
Signed-off-by: default avatarShivendra Kakrania <shiven@codeaurora.org>
parent 49e8164d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment