This repository has been archived by the owner on May 1, 2020. It is now read-only.
forked from Grarak/android_kernel_oneplus_msm8994
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
msm: vidc: Protect debug_buffer access in core_info_read with lock.
Serialize core_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. CRs-Fixed: 2013361 Change-Id: Ia18a4b94cafd69af1d367861f2499fc202f18e9f Signed-off-by: Abdulla Anam <abdullahanam@codeaurora.org> Signed-off-by: Sanjay Singh <sisanj@codeaurora.org>
- Loading branch information
Abdulla Anam
authored and
Gerrit - the friendly Code Review server
committed
Apr 15, 2017
1 parent
61d72ed
commit 3a51e00
Showing
3 changed files
with
37 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters