diff options
| author | Karthik Reddy Katta <a_katta@codeaurora.org> | 2016-09-07 18:02:23 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-09-10 04:49:15 -0700 |
| commit | 287879c3beb3e50decdbec07895d0698d7212a9a (patch) | |
| tree | 3f95a730f76b3531a4b2ab77a4568b97798dabe8 /include | |
| parent | 2590d5faf4d6ffdad54aefc8c213731831e0e65f (diff) | |
ASoC: msm: Add Buffer overflow check
The overflow check is required to ensure that user space data
in kernel may not go beyond buffer boundary.
CRs-Fixed: 1064411
Change-Id: I54c28a8942cf1a6a47a4e8272f3159b35d753ead
Signed-off-by: Karthik Reddy Katta <a_katta@codeaurora.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/q6asm-v2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/q6asm-v2.h b/include/sound/q6asm-v2.h index dadc2f7a4eae..8525f2e7f738 100644 --- a/include/sound/q6asm-v2.h +++ b/include/sound/q6asm-v2.h @@ -226,7 +226,7 @@ struct audio_client *q6asm_get_audio_client(int session_id); int q6asm_audio_client_buf_alloc(unsigned int dir/* 1:Out,0:In */, struct audio_client *ac, unsigned int bufsz, - unsigned int bufcnt); + uint32_t bufcnt); int q6asm_audio_client_buf_alloc_contiguous(unsigned int dir /* 1:Out,0:In */, struct audio_client *ac, |
