diff options
author | Alexander Mohr <alexander.m.mohr@mercedes-benz.com> | 2023-01-11 10:04:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-11 10:04:50 +0100 |
commit | 2224cddf140c060d92455ad3ee585e3abfc38eb2 (patch) | |
tree | b3c9ce2df3a286cbd302ec0f6ba28faf0bad49ca /debian | |
parent | 8c3c0a2a6eae04022a3b1a8a2387563bc3aee936 (diff) | |
download | DLT-daemon-2224cddf140c060d92455ad3ee585e3abfc38eb2.tar.gz |
dlt-user: Fix crashes in dlt_free during dlt_init (#362)
If dlt_free is called while dlt_init is running, the dlt-user library
crashes because the init and free where not thread safe.
This commit introduces a new field dlt_user_initialising
which will prevent entering dlt_free while dlt_init is running.
Correctness is ensured by a unit test
Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions