commit | 13b86658b93e4887034cc3533b5c9af78d72e646 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Sun Nov 05 14:01:43 2017 -0800 |
committer | Christopher Ferris <cferris@google.com> | Sun Nov 05 14:01:43 2017 -0800 |
tree | 4b92e489db761a0766df570ec38a5b7a1bb4c63a | |
parent | ebcfa449375fb809b266383d0036a7be3ecdac01 [diff] |
Fix nullptr dereference. If an entry is found in .eh_frame_hdr, but it's not properly in .eh_frame, then the code would crash. The assumption that the header always points to valid fde data is not guaranteed. Bug: 68813077 Test: Passes new unit test that crashed before the change. Change-Id: I914d9bda0d442cd232e2a056ae490301a8850105