diff options
| author | Deepak Kumar Singh <deesin@codeaurora.org> | 2019-03-05 17:16:54 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-03-05 03:51:54 -0800 |
| commit | caf53b2661cf5a9863048b7af89bd89a8ad0d282 (patch) | |
| tree | 1bbc0cfb71521273c09b29417380c178c83eca44 /net/unix/sysctl_net_unix.c | |
| parent | 733f5a1d1d7d47068181a551f362dab2f5f1dc4b (diff) | |
soc: qcom: qmi_encdec: Restrict string length in decode
The QMI TLV value for strings in a lot of qmi element info structures
account for null terminated strings with MAX_LEN + 1. If a string is
actually MAX_LEN + 1 length, this will cause an out of bounds access
when the NULL character is appended in decoding.
CR-Fixed: 2359244
Change-Id: I4d789bc6017ff58458f77fe875ca4e175a4f1357
Signed-off-by: Chris Lew <clew@codeaurora.org>
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
