Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoC: msm: qdsp6v2: return error when copy from userspace fails
A copy_from_user is not always expected to succeed. Therefore, check for an error before operating on the buffer post copy. CAF-Change-Id: Ibba9a47c84e735d30e32eeac5b80d51044b7a9e8 CRs-Fixed: 1094852 Signed-off-by: Siena Richard <[email protected]> CVE-2017-0610 Change-Id: I238dd28d531778104660ff5ac9b8a9733c2fac6a (cherry picked from commit 65009746a6e649779f73d665934561ea983892fe) Signed-off-by: Francisco Franco <[email protected]>
- Loading branch information