summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhani Kumar Uppalapati <phaniu@codeaurora.org>2013-09-26 12:27:56 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:10:18 -0700
commit6ba6d2e98322dd4d8ea07b39d5129671c403ec03 (patch)
tree98e886d8e02053442990d8ccb841f4f5e7563316 /include
parentf928605b0e173bc4b9614375820bd91ed1ee095e (diff)
ALSA: pcm: check for integer overflow during multiplication
Channel info data structure is parsed from userspace and if user does not set the no. of channels correctly, it could lead to security vulnerability if we don't check for overflow when the no. of channels is multiplied with pcm bit width. Add a condition to check for overflow during multiplication. CRs-fixed: 537818 Change-Id: Ib9631b6e45d77b39be2c27343d4aee3e9244d8cc Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions