Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26410152 authored by Yu Shan's avatar Yu Shan
Browse files

Fix invalid memory access in DefaultVehicleHal.

We should not return a pointer that points to a local variable. Use
copy instead.

Flag: EXEMPT HAL
Test: atest DefaultVehicleHalTest
Bug: 386897768
Change-Id: I61e086b41d64ffde2555d7442009854977c152f9
parent 6ba2617f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment