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 | d42ee567be3a19aa0adbe7f857de37027c554f40 (patch) | |
| tree | 4b92e489db761a0766df570ec38a5b7a1bb4c63a /libcutils/sockets_unix.cpp | |
| parent | 740f7b7f2308bbabb033ba22d5de17e565d00804 (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/sockets_unix.cpp')
0 files changed, 0 insertions, 0 deletions
