aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msc_vlr/msc_vlr_test_ms_timeout.c
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-09-28 14:26:35 +0200
committerStefan Sperling <ssperling@sysmocom.de>2018-09-28 14:26:35 +0200
commit722f2b4161b01aceb37ab0b2c41ab09b92c4e93f (patch)
tree02e8dc698be56f99e5559d6de52da63ab0d3634a /tests/msc_vlr/msc_vlr_test_ms_timeout.c
parente2497f70bb8ebbeb1dc6ea2b68d5618ef63fe8dc (diff)
fix a use-after-free in msc_mgcp.c:_handle_error()
Move code which needs to test the mgcp_ctx->free_ctx flag upwards such that it runs before we're calling functions which will potentially free mgcp_ctx. The code being moved up takes effect only in case mgcp_ctx won't be freed, so there should be no functional difference. Change-Id: I5df17c19e2a68c019f7eaf582b14585caa54b32a Related: OS#2885
Diffstat (limited to 'tests/msc_vlr/msc_vlr_test_ms_timeout.c')
0 files changed, 0 insertions, 0 deletions