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> Signed-off-by:
Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Loading
Please register or sign in to comment