tag | 7abee5cad980a773303c5356594b47c959aa2d19 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Jun 06 14:00:59 2016 -0700 |
object | eb6cc9d4af6791d4d34075e3fa08f0c858087a8c |
Android 6.0.1 Release 0.85
commit | eb6cc9d4af6791d4d34075e3fa08f0c858087a8c | [log] [tgz] |
---|---|---|
author | Rajesh Kemisetti <rajeshk@codeaurora.org> | Tue Apr 19 15:42:12 2016 -0700 |
committer | Yuan Lin <yualin@google.com> | Tue Apr 19 22:46:09 2016 +0000 |
tree | e573a8e6012cf35a0adc0983182fa3b007645d98 | |
parent | 4029268991f478b98b6d37106af8f1f635c0b595 [diff] |
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: I5b2e6f657f532fc256627cb6b2ab3ca01938a11b Signed-off-by: Yuan Lin <yualin@google.com>