Skip to content
Snippets Groups Projects
Commit 3205bf63 authored by Rajesh Kemisetti's avatar Rajesh Kemisetti Committed by Thierry Strudel
Browse files

msm: kgsl: Add missing checks for alloc size and sglen


In _kgsl_sharedmem_page_alloc():

- Make len of type size_t to be in line with size.
- Check for boundary limits of requested alloc size before honoring.
- Make sure sglen is greater than zero before marking it as end
of sg list.

Bug: 27804484
Change-Id: I8b9e225e515a0f31593df6f4cad253236475d0ae
Signed-off-by: default avatarRajesh Kemisetti <rajeshk@codeaurora.org>
parent 3546de1b
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment