Commit 1b559fe2 authored by Jagadeesh Ponduru's avatar Jagadeesh Ponduru Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa3: fix pointer arithmetic to avoid out-of-bound



When offset gets added to base of the array, it returns
offset plus the number equal to size of the whole array.
So, correct it by passing the address of offset element
in the array.

Change-Id: I8a087ca277bdc476674c7221b5fc0920e6986570
Signed-off-by: default avatarJagadeesh Ponduru <quic_jponduru@quicinc.com>
parent 67667a89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment