diff options
| author | Suprith Malligere Shankaregowda <supgow@codeaurora.org> | 2018-08-23 13:09:50 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-08-28 01:30:07 -0700 |
| commit | 73cd718f0e36cbcb902a45168bbf7f121b140f8e (patch) | |
| tree | 7ebca7364c58fe3a4d75b73cd58cff0dbabebb26 /lib/zstd/decompress.c | |
| parent | 87d4444575cd6c2810639a93ccf75fc364bca3e5 (diff) | |
msm:ais:Handling bigger value than upper bound in msm_cpp_irq api
In msm_cpp_irq function, tx_level is read using msm_carmera_io_r(),
However, this value is never verified to lower than
MSM_CPP_TX_FIFO_LEVEL (16), As tx_level is used as the upper bound
for the following loop, any value bigger than 16 will result in a
buffer overflow. Hence handling this case as error with error log.
Change-Id: I13222b315c3c9ee46bedb8b4e8e161179fea321d
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
Diffstat (limited to 'lib/zstd/decompress.c')
0 files changed, 0 insertions, 0 deletions
