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-29 06:39:18 -0800 |
| commit | 80c42b4e46fb92d07233369aacd1d512db92b019 (patch) | |
| tree | 1f8401cdeb01b711573a3edc67cfec435ead031d /kernel/sysctl_binary.c | |
| parent | 82cc12c7f74912ac404bb6bf8cd3db0def9b9d1f (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 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
