Skip to content
Commit c2a6be35 authored by Tejas Prajapati's avatar Tejas Prajapati Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: memmgr: update correct length in bufq



In a corner case race condition to free the original
ion buf allocated and new ion buffer with same fd but
different size after freeing the origianl ion buf might
result into mismatches in the real ion buf size assigned
in bufq. To avoid this update length in bufq with
local variable.

Change-Id: I0c76f7124de0cf5389592595872e695e07fc24d7
Signed-off-by: default avatarTejas Prajapati <quic_tpraja@quicinc.com>
parent f34da4ee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment