commit | 5eb5467f985b0b215d080365f0ba6a45064519ed | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Tue May 12 17:35:48 2015 -0700 |
committer | Adam Lesinski <adamlesinski@google.com> | Tue May 12 17:35:48 2015 -0700 |
tree | cd4a33753dbba184f8a1e247b54fcc2b347f4ff7 | |
parent | 99a6ab6b208ba1f4aa9f055aa4e6d094eddac3c7 [diff] |
Verify that the native handle was created The inputs to native_handle_create can cause an overflowed allocation, so check the return value of native_handle_create before accessing the memory it returns. Bug:19334482 Change-Id: I1f489382776c2a1390793a79dc27ea17baa9b2a2