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

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

msm: camera: sync: initialize event variable with zero



v4l2_event is a stack buffer, which is not initialized.
This leaves some random byte in it which is kernel sensitive.
By initializing the struct variable with zero removes
vulnerability.

Change-Id: Ib8153a041cd3ad039f35cd27f2e567107f9a7de2
Signed-off-by: default avatarTejas Prajapati <tpraja@codeaurora.org>
parent 29bc33c7
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