commit | cca04058b34913754269ec3473f65b467e4a7f41 | [log] [tgz] |
---|---|---|
author | Maheshwar Ajja <majja@codeaurora.org> | Wed Jul 12 17:59:45 2017 -0700 |
committer | Maheshwar Ajja <majja@codeaurora.org> | Fri Jul 14 16:26:07 2017 -0700 |
tree | e1bb3c667391270d8ed6a404cb7dac7b4f025efb | |
parent | 4d9a308b714be99800f75f003e64f1d375a00615 [diff] |
msm: vidc: Fix use after free memory issue One thread might free the video buffer structure in msm_comm_flush() and other thread might still be using it in msm_comm_qbuf() which raises use after free memory issue. Fix the issue by using kref functions. CRs-Fixed: 2075754 Change-Id: I27dc83031ec761b8fd5719a5f6ed3c2acf47e18b Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>