commit | 83ecb6a9613dd07572b64bbe537d5c25dd2b2b90 | [log] [tgz] |
---|---|---|
author | Mitch Phillips <31459023+hctim@users.noreply.github.com> | Tue Feb 28 14:05:42 2023 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Feb 28 14:21:08 2023 -0800 |
tree | b8c325c1b2ab4d6fb3c03d85f33691a9a4b6fbe7 | |
parent | f36df953a3bab8b8e54e1ce7214cb710a5605a1a [diff] |
[GWP-ASan] Handle wild touches of the guarded pool. AllocMeta could be null when returned from __gwp_asan_get_metadata() for a bad access into the GuardedPagePool that was never allocated. Currently, then we dereference the null pointer, oops. Hoist the check up and print a message (only once in recoverable mode) about the bad memory access. Reviewed By: fmayer Differential Revision: https://reviews.llvm.org/D144973 GitOrigin-RevId: bc949f923ee37e6c71b69d0c0337d0e6b499832d