Skip to content
Commit 20dc5a0e authored by Ryan Zuklie's avatar Ryan Zuklie
Browse files

Ensure locked Perfetto handle is non-null.

Although the time between when Trace starts and GetDataSourceLocked is
called is small, it's still possible for the handle to be invalidated
between those two points in time. Check validity prior to use.

Test: atest libnetworkstats_test
bug: 289476598
Change-Id: Ie4b3d65178e6ca24382efde3f38162f332144e81
parent 8abd1be5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment