Attention is currently required from: matanp.
matanp uploaded patch set #2 to this change.
transaction: Fix potenial use after free of members
In the case of multithreading, trans_free could yield
between cleaning its members (paging_request or vsub)
and between assigning NULL in their places.
This change assigns NULL before freeing them to prevent
the trans_free of the other thread from trying to clean them.
Change-Id: I177959fb298ae04c4e8df877582fc9a1bd4dc2cf
---
M src/libmsc/transaction.c
1 file changed, 6 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/53/40853/2
To view, visit change 40853. To unsubscribe, or for help writing mail filters, visit settings.