commit | ac30c110b93cb6ab7090d96c81888d1999d8ad65 | [log] [tgz] |
---|---|---|
author | Xiaojun Sang <xsang@codeaurora.org> | Thu Apr 27 14:48:12 2017 +0800 |
committer | Jeron Susan <jeron.susan@hi-p.com> | Thu Apr 27 14:48:18 2017 +0800 |
tree | fd035591d8003bb8ea4c75889807cd119bf49500 | |
parent | 4fb13f55e62d5217964e28b473b189c2396645da [diff] |
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. CRs-Fixed: 1084210 Change-Id: I9556f18dd6a9fdf3f76c133ae75c04ecce171f08 Signed-off-by: Xiaojun Sang <xsang@codeaurora.org> FPIIM-703 Change-Id: Ide6bae49a3c172876a16a2ed904a694e6763d402