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.

Bug: 77528653
Change-Id: I28fd60ce93256b6b0bad62b449092a891cc15463
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
CVE-2018-5858
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
1 file changed