Commit d4b60590 authored by Jordan Crouse's avatar Jordan Crouse Committed by Gaurav Gagrani
Browse files

msm: kgsl: Protect against a potential overflow in kgsl_sg_alloc



Avoid allocating a scatterlist so large that it overflows the size
passed to the memory allocators.

CRs-fixed: 564448
Change-Id: Ic0dedbad2ab421ddec8f3be38d61c9bdf9ae5bd4
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 00689b19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment