commit | d338dfe5830df0960b7b16b7191cb42bd2115996 | [log] [tgz] |
---|---|---|
author | Ryan Mitchell <rtmitchell@google.com> | Sat Feb 23 15:33:08 2019 +0800 |
committer | Ryan Mitchell <rtmitchell@google.com> | Thu May 28 14:03:27 2020 -0700 |
tree | 1ecce02639f04419ecdfd43a5c86f05bbaabbffb | |
parent | 57e977a5859ff24f5ff909046dccde5bce341f6d [diff] |
Avoid Asset::LoadImpl crash when getBuffer is null If for some reason Asset::getBuffer returns a null pointer, error out instead of dereferencing the null pointer. Bug: 125943266 Bug: 154461471 Test: boots Change-Id: I957be4f9b8c49c2a6829e8b82fae0ae8d8d7639e