ASoC: wcd9xxx: Add check for array boundary
This is possible the index for the array irq_marks_cur out of
array boundary. Add the check to assure the index for the array
irq_marks_cur within boundary.
Change-Id: I13d56d54c5439fd65a33946c40e4c0bdecbe070e
CRs-fixed: 714763
Signed-off-by:
Kuirong Wang <kuirongw@codeaurora.org>
Loading
Please register or sign in to comment