| commit | ce6980732ddd0e7b184752b70a568d4f9a89a415 | [log] [tgz] |
|---|---|---|
| author | Keith Mok <keithmok@google.com> | Fri Aug 19 03:45:27 2022 +0000 |
| committer | Keith Mok <keithmok@google.com> | Fri Aug 19 03:50:02 2022 +0000 |
| tree | b675465591ec60f0affd1ea693644e6c03f2eea2 | |
| parent | fc20cdf533b63de60923712b57c535f540c754b4 [diff] |
Fix sensor_fuzzer crash
The fuzzer itself use std::string("xxx").c_str()
which std:string will be out of scope immediately
Causing the c_str pointing to data already free
Test: sensor_fuzzer
Bug: 242089424
Change-Id: I42865b12b8a208ffa48a7c3cc7cadd505e47c1c0