diff options
author | Christopher Ferris <cferris@google.com> | 2017-11-05 14:01:43 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2017-11-05 14:01:43 -0800 |
commit | 13b86658b93e4887034cc3533b5c9af78d72e646 (patch) | |
tree | 4b92e489db761a0766df570ec38a5b7a1bb4c63a /libcutils/socket_local_server_unix.cpp | |
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
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions