diff options
| author | Adam Lesinski <adamlesinski@google.com> | 2015-04-27 12:13:33 -0700 |
|---|---|---|
| committer | Adam Lesinski <adamlesinski@google.com> | 2015-05-15 13:09:39 -0700 |
| commit | 07edc3b3b3caef7829850633f928ae05f6d49f3a (patch) | |
| tree | cc2b7395e3824caac5c9527882c7875b9de56d90 /libutils/Unicode_test.cpp | |
| parent | eb19e766322fb57ccde989e0e35b0ac3e28a4ac2 (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
Diffstat (limited to 'libutils/Unicode_test.cpp')
0 files changed, 0 insertions, 0 deletions
