diff options
| author | Xiaoyu Ye <benyxy@codeaurora.org> | 2017-01-26 18:20:06 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-02-03 10:43:58 -0800 |
| commit | 811f1faa257ba578bf27b4883f67fcbe34a50772 (patch) | |
| tree | 087365254e9490bf4d79022ba2909710614b3ffc /net/unix/sysctl_net_unix.c | |
| parent | 892e41e7c7758e2d9904b2e13f755e5225c10f0c (diff) | |
ASoC: msm: qdsp6v2: Fix range check logic of port index
The case of port index equals AFE_MAX_PORTS is not checked.
Add this corner case to avoid wrong port number.
CRs-Fixed: 1114578
Change-Id: I466cb7d87313e55e9e0bd08a7ab43f3ea36b8b9a
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
