diff options
| author | Pratap Nirujogi <pratapn@codeaurora.org> | 2018-08-08 20:43:29 +0530 |
|---|---|---|
| committer | Pratap Nirujogi <pratapn@codeaurora.org> | 2018-08-09 11:36:18 +0530 |
| commit | a98c0c65522b04a7adf81386eab1f64e5b42526a (patch) | |
| tree | cf8fe63414427667db74765b4edcc5a45a94dd04 /net/socket.c | |
| parent | 9656c6c6419134ae58b11bb776ad9ceee240e04d (diff) | |
msm: camera: cpp: Check for valid tx level
TX and RX FIFOs of Microcontroller are used to exchange commands
and messages between Micro FW and CPP driver. TX FIFO depth is
16 32-bit words, incase of errors there is a chance of overflow.
To prevent possible out of bound access, TX FIFO depth or
level is checked for MAX depth before accessing the FIFO.
Change-Id: I5adf39b46ff10e358c4a2c03a2de07d44b99cedb
Signed-off-by: Pratap Nirujogi <pratapn@codeaurora.org>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions
