summaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorPuja Gupta <pujag@codeaurora.org>2017-03-06 15:04:11 -0800
committerPuja Gupta <pujag@codeaurora.org>2017-03-09 14:26:20 -0800
commit68020103af00280393da10039b968c95d68e526c (patch)
treefdd853702b323af72340ddb450aa007265d6e076 /lib/mpi
parent647076b679f3ac76db31d875eda2d7a99be764e6 (diff)
soc: qcom: Avoid possible buffer overflow in service-locator
Fix possible buffer overflow by reading 'resp->total_domains' from the qmi response message since 'resp->total_domains' indicate total number of matching domains found by servreg. 'resp->domain_list_len' indicates the domains that could be sent in one response which should not be greater than 'resp->total_domains'. CRs-Fixed: 2009016 Change-Id: I614561c5f9bc996689129bc098baaffc9b59c377 Signed-off-by: Puja Gupta <pujag@codeaurora.org>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions