Skip to content
Snippets Groups Projects
Commit 73406e07 authored by Xiaojun Sang's avatar Xiaojun Sang Committed by Pat Tjin
Browse files

FROMLIST: ASoC: soc: prevent risk of buffer overflow


In case of large value for bufcnt_t or bufcnt,
cmd_size may overflow. Buffer size allocated by cmd_size might
be not as expected.
Possible buffer overflow could happen.

Bug: 35393841
CRs-Fixed: 1084210
Change-Id: I9556f18dd6a9fdf3f76c133ae75c04ecce171f08
Signed-off-by: default avatarXiaojun Sang <xsang@codeaurora.org>
Signed-off-by: default avatarSiqi Lin <siqilin@google.com>
(am from https://source.codeaurora.org/quic/la//kernel/msm-4.4/commit/?id=1aa5df9246557a98181f03e98530ffd509b954c8)
parent 73738cfa
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment