diff options
| author | Govindaraj Rajagopal <grajagop@codeaurora.org> | 2019-12-13 16:15:51 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2020-01-06 04:22:55 -0800 |
| commit | 6c606f60096f8ad69708c7dd5322ed38f9e4f41c (patch) | |
| tree | 10acd17c6b18c11deaab7fcdbfff9e340fff0775 /security/selinux/hooks.c | |
| parent | a4fda0058007867361bd0df664ad9a449660110c (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>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
