msm: camera: Bug fix in IR LED Driver
If camera daemon dies, kernel crash is observed due to stack corruption
in IR LED driver. When camera daemon dies, IR LED driver receives shutdown
IOCTL. Here the IR LED driver is accessing a structure object beyond its
limit.
The code is modified to access the structure object within its limit.
Change-Id: Ieb75e168dc412489da1baaa59546a6548b98b35e
Signed-off-by:
Alok <akumarpa@codeaurora.org>
Loading
Please register or sign in to comment