commit | 364189cc8e16d494dcea87228a0d1f2d1a1cce52 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Thu Nov 14 17:33:12 2019 -0800 |
committer | Josh Gao <jmgao@google.com> | Thu Nov 14 18:12:57 2019 -0800 |
tree | 299899ed29b7620dd1420e97d5961d2b24c872b5 | |
parent | 84b4fa792e8716036a495d1d4d4474f29e710ac0 [diff] |
unwindstack: fix dangling pointer in LocalUpdatableMaps. Previously, when reparsing /proc/self/maps, we would remove duplicate MapInfo entries, but leave the following entry's prev_map pointing toward the soon-to-be-deleted MapInfo, leading to explosions. Test: libunwindstack_test Test: booted with libfdtrack.so preloaded Change-Id: Ibfb7a8712540fe3aaadc10e9c31938f6ecddf17b