commit | fe5cd492bf9895da4def021eb915847dbb9d1c90 | [log] [tgz] |
---|---|---|
author | Iris Chang <iris.chang@mediatek.com> | Sun Oct 20 12:10:12 2019 +0800 |
committer | Marco Nelissen <marcone@google.com> | Mon Feb 03 12:50:53 2020 -0800 |
tree | 5ecb5ae67a99e72df55b7b54b4b7636808ee49eb | |
parent | 4cb250e1017b78bc7c98dd14a3b77f2469a6efbb [diff] |
Fix native exception caused by memset 0 to NULL pointer When memory is not enough, it will fail to allocate mSampleTimeEntries and it will return NULL. So memset will set 0 to address 0x00, and exception occurs. Bug: 143057966 Test: this is a seldom issue and we analyze this exception by callstack Change-Id: Ia69884a984c8d38e58b325b4043977e6e196e6a2