diff options
author | Scott Murray <scott.murray@konsulko.com> | 2020-07-22 14:40:17 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2020-07-22 14:49:15 -0400 |
commit | cb8db512e462af970735aa86781ca2cfa58d0760 (patch) | |
tree | f0a5392715c3435c3af1a4ab6e168b961b353150 /test/afb-test/etc/CMakeLists.txt | |
parent | 5fdc7afba453f4f27b22364dd3c974eb9ec0ef46 (diff) |
Switch to refcounted allocation for init datajellyfish_9.99.2jellyfish/9.99.29.99.2
When running in qemu, there seems to be a rare race condition
where the timeout waiting on BlueZ during init happens with the
timing such that bluetooth_func doesn't finish before init returns,
resulting in an invalid access to the init_data structure that was
on the init function's stack. To fix this, init_data is now
allocated and refcounted using glib's atomic refcounted memory
allocator API.
Bug-AGL: SPEC-3301
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I1ea8831ca5c008a2916909671e62cbd770906e5e
Diffstat (limited to 'test/afb-test/etc/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions