Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b97a2097 authored by Lakshmi Narayana Kalavala's avatar Lakshmi Narayana Kalavala
Browse files

[media] v4l2: Fix the possible memory leak in v4l2 framework



If the size of the command passed to video_usercopy function
is bigger than the supported stack size, the required size
is allocated from heap. In this case, the memory needs to
be freed, otherwise can result in memory leak

CRs-Fixed: 547486
Change-Id: I5268673cf5941ae55620592fadacbabee36cdf29
Signed-off-by: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>
parent 61a09d4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment