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:
Jordan Crouse <jcrouse@codeaurora.org>
Loading
Please register or sign in to comment