diff options
author | Harald Welte <laforge@osmocom.org> | 2021-11-24 20:00:29 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2021-11-24 20:02:42 +0100 |
commit | 79f21c4ed172eadf1e3b046446cdec48ccce6a99 (patch) | |
tree | 5a3320cb0a0a8b15e901c378ecd156dc49a06fe6 /src/osmo-bts-oc2g/l1_if.c | |
parent | 40e97f3d024c7c73db2b9ea5dff4131f11d5cc3e (diff) |
cbch: Fix bts_smscb_state_reset() to avoid double-free
If the currently transmitted message is the default message,
bts_ss->cur_msg == bts_ss->derfault_msg. In this case we cannot
simply talloc_free() both of them, as it would result in a boudle-free.
Change-Id: I2d3645e34d31507b012a53ffe12d14223682f808
Closes: OS#5325
Fixes: Ib01d38c59ba9fa083fcc0682009c13d2db3664fe
Diffstat (limited to 'src/osmo-bts-oc2g/l1_if.c')
0 files changed, 0 insertions, 0 deletions