tag | 38e49d32908bb5446eeeb3687723cc0b44b847a0 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Sep 09 14:36:03 2015 -0700 |
object | 9e395eea5a1d34579d35b1224d4a0d13476be74c |
Android 5.1.1 release 17
commit | 9e395eea5a1d34579d35b1224d4a0d13476be74c | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Mon Apr 27 12:13:33 2015 -0700 |
committer | The Android Automerger <android-build@android.com> | Fri Aug 14 12:26:32 2015 -0700 |
tree | d9f0dd6e806932662c1a158f10a1363ec569ea60 | |
parent | 79f338465213885900cea5a39f3aeeea083bbe51 [diff] |
Prevent integer overflow when allocating native_handle_t User specified values of numInts and numFds can overflow and cause malloc to allocate less than we expect, causing heap corruption in subsequent operations on the allocation. Bug: 19334482 Change-Id: I43c75f536ea4c08f14ca12ca6288660fd2d1ec55