diff options
author | Vidyakumar Athota <vathota@codeaurora.org> | 2017-06-20 16:39:00 -0700 |
---|---|---|
committer | Vidyakumar Athota <vathota@codeaurora.org> | 2017-06-27 15:28:29 -0700 |
commit | 8914f7b8616daec323016b0e5a9920e7501ef6e9 (patch) | |
tree | 6fe324a887b81007948f47699fd9ca3d97ce4a8e /init/main.c | |
parent | 560a996da5c0bf398d2fba51e9909cd7323afea8 (diff) |
ASoC: msm: qdsp6v2: add size check to fix out of bounds issue
Before calling audio calibration ioctl functions, compare the
allocated buffer size to the size of the header and cal type header
to ensure the buffer is big enough.
Change-Id: I601bb37ddcc34d459c207cf579f29744fe912d7b
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions