Skip to content
Snippets Groups Projects
Commit d13a3e5d authored by Rajesh Kemisetti's avatar Rajesh Kemisetti Committed by Yuan Lin
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=27475454

Change-Id: I8e18aad2118f58ce677050ff4c4a4b0823c4b4b3
parent 378b88b0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment