tag | be74301d66b9128c42337bfc45ce8d1bceb6dfd1 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Jun 06 14:00:43 2016 -0700 |
object | 6a99a02ceb043ec80266046620273e2cbaf3aa95 |
Android 6.0.1 Release 0.84
commit | 6a99a02ceb043ec80266046620273e2cbaf3aa95 | [log] [tgz] |
---|---|---|
author | Yuan Lin <yualin@google.com> | Tue Apr 19 22:51:59 2016 +0000 |
committer | Yuan Lin <yualin@google.com> | Tue Apr 19 22:54:02 2016 +0000 |
tree | cf8a24940aa9cb1e60d5fc1bdb6e39364855713b | |
parent | 44c731034f3161db76698477f518fd404092bc3e [diff] |
msm: kgsl: Add missing checks for alloc size and sglen This reverts commit 44c731034f3161db76698477f518fd404092bc3e. 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: I9053000bf8ca17b4b5237863fe7d3f9a73e811ad