commit | afbed690f091956a85484ac1409c9f1b53dd1df0 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Thu Aug 27 11:46:36 2020 -0700 |
committer | Christopher Ferris <cferris@google.com> | Thu Aug 27 12:00:43 2020 -0700 |
tree | 06f3474897dc472956c05da1e80e2972056c462a | |
parent | e27781db4c88f1e79348cf2d38cbf01010c85145 [diff] |
Fix nullptr dereference. A previous cl missed adding a return in the new path which could result in a crash if the map info is null. Add the return back. Added a new test to catch this case. Bug: 166188440 Test: Unit tests pass. Verified the new test crashes on the old code. Change-Id: I9420b47dae0f880493c0e6a60d97bb3468ff2906