diff options
| author | Sim Sun <simsun@fb.com> | 2020-04-16 04:02:59 -0700 |
|---|---|---|
| committer | Christopher Ferris <cferris@google.com> | 2020-05-01 22:20:01 +0000 |
| commit | ad9c3229c6b0acc793145de4f9bafe79fbabbf78 (patch) | |
| tree | 723eaf789959d2615ecc9bc2eaaf4f0a9319f423 /code_coverage/seccomp_policy/code_coverage.arm.policy | |
| parent | 64620b553941ac711ac71d6a5816a18c502e23c4 (diff) | |
Fix dangling pointer issue in LocalUpdatbleMaps
Libunwindstack would remove duplicated items and update the `prev_map`
during reparsing `/proc/self/maps`. But we leave `prev_real_map`
pointing toward a MapInfo that will be deleted soon. It will cause a
dangling pointer issue.
Add new tests to cover this dangling pointer issue.
Bug: 155511785
Test: libunwindstack_test
Change-Id: I62e1b97bcb73f07e9349671f0b758f5ec9de16c0
Diffstat (limited to 'code_coverage/seccomp_policy/code_coverage.arm.policy')
0 files changed, 0 insertions, 0 deletions
