diff options
| author | Puja Gupta <pujag@codeaurora.org> | 2017-03-06 15:04:11 -0800 |
|---|---|---|
| committer | Puja Gupta <pujag@codeaurora.org> | 2017-03-09 14:26:20 -0800 |
| commit | 68020103af00280393da10039b968c95d68e526c (patch) | |
| tree | fdd853702b323af72340ddb450aa007265d6e076 /fs/jbd2/commit.c | |
| parent | 647076b679f3ac76db31d875eda2d7a99be764e6 (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 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
