commit | d9f068f9c8904c5e53406ddf4ed7471a78e672c5 | [log] [tgz] |
---|---|---|
author | Hardik Arya <harya@codeaurora.org> | Fri Jan 04 16:14:20 2019 +0530 |
committer | Hardik Arya <harya@codeaurora.org> | Mon Jan 07 11:21:48 2019 +0530 |
tree | 754ef8d7922761f5fa00567c7059a93107e5cc27 | |
parent | a39768f171747ff2f87a0f2de7d38819fd0c5b6e [diff] |
soc: qcom: Validate read and write index before calculating ptr Currently we are not validating read and write index of tx and rx fifo's before calculating ptr, this can lead to out-of-bound access. The patch adds proper check for the same. Change-Id: I7b158e94ae743a90ac364783fe31914ca0fa582b Signed-off-by: Hardik Arya <harya@codeaurora.org>