Commit 9ff07351 authored by Monika Alekhya's avatar Monika Alekhya Committed by Sridhar Gujje
Browse files

msm:camera: Fix overflow issue in ioctl_hw_cmds function



    'len' is of type signed int 32bit,but the assigned value
    may exceed maximum unsigned int32 range.Add overflow check
    and graceful exit if 'm'exceeds UINT32_MAX value.

Change-Id: I38f0d10a0cb44d08d0054f91044fc891c246ebd1
CRs-Fixed: 493314
Signed-off-by: default avatarMonika Alekhya <malekh@codeaurora.org>
Signed-off-by: default avatarSridhar Gujje <sgujje@codeaurora.org>
parent 3be33856
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment