commit | 056eb4a22db429af8445ee5aeda9976afdc86e98 | [log] [tgz] |
---|---|---|
author | Govindaraj Rajagopal <grajagop@codeaurora.org> | Fri Dec 13 16:15:51 2019 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Jan 02 06:13:01 2020 -0800 |
tree | 764236c0a8a419f67373589baac26ba5b73f019e | |
parent | 5290f18f9345fd7f7c61cf085ab19cbd49e50570 [diff] |
msm: vidc: remove additional checks in response_handler possibility of OOB access on device->response_pkt in __response_handler. for e.x if msg queue contains 1000 messages and all 1000 were read and queue is empty. So __get_q_size api will return zero and _iface_msgq_read will go in an infinite loop, even if packet_count == max_packets. Change-Id: I3c0fb095feff0ba5d4d6dab65ed9d5111f1b6f05 Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>