commit | b95c849e602d5b8b1e48f464b738e5ca4fcd1d26 | [log] [tgz] |
---|---|---|
author | Aravind Kumar <akumark@codeaurora.org> | Fri Mar 21 12:43:29 2014 +0530 |
committer | Aravind Kumar <akumark@codeaurora.org> | Thu Apr 03 11:03:07 2014 +0530 |
tree | f5a6a3ca1121bff3386c9659d83cefd6fb654e59 | |
parent | 5c6f4d4b1d2aaf1202d0817a3942173ce80173ac [diff] |
ASoC: wcd9xxx: Add check for buffer overflow Current code does not check if the indexes of array codec_dai being accessed is within the maximum number of codec dais for a particular codec. The change adds this check and ensures that indexes outside the bounds of array are not accessed. CRs-Fixed: 628865 Change-Id: Ibf81f91b35e43feddc6b03a1239b4d12e04a95da Signed-off-by: Aravind Kumar <akumark@codeaurora.org>