commit | b134d259880b7920109278d4c4c77ed6a0e9c73e | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Tue Dec 10 12:21:27 2019 +0000 |
committer | Lalit Maganti <lalitm@google.com> | Tue Dec 10 12:21:27 2019 +0000 |
tree | eb26c3978fa2287ba0276dc3a24755ddb1ea4952 | |
parent | 1308e3f565d3a66514031968f76ba3eff6db4d7a [diff] |
trace_processor: fix null dereference in ref_type mapping As we were calling InternString with a nullptr, we were getting crashes in strlen when looking up the string for a reftype. Instead of storing char*, store the StringView which lets us avoid the issue - this code is going away soon anyway so trying to fix this better is not worth our time. This fixes the Chrome roll. Change-Id: I1005b64128fee772a80b0f0a2bb68f67d3dce791
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
See www.perfetto.dev for docs.
You can reach us on our Discord channel. If you prefer using IRC we have an experimental Discord <> IRC bridge synced with #perfetto-dev
on Freenode.