OSDN Git Service

ASoC: msm: qdsp6v2: check for buffer size before read
authorKarthikeyan Mani <kmani@codeaurora.org>
Tue, 6 Mar 2018 19:04:49 +0000 (11:04 -0800)
committerGerrit - the friendly Code Review server <code-review@localhost>
Fri, 9 Mar 2018 18:34:18 +0000 (10:34 -0800)
commit023bc4e0bf2e24367ebf8773b35f31a59a59442e
treec05d49ca2b2880061ce5e1d425b3d962a11bf487
parent07324253e2e621c2cf54105c5612e341a9f305ad
ASoC: msm: qdsp6v2: check for buffer size before read

Check for debugfs ops buf size passed before reading
to eliminate the possibility of reading out of bounds.

Change-Id: I28fd60ce93256b6b0bad62b449092a891cc15463
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
sound/soc/msm/qdsp6v2/q6asm.c