laforge has submitted this change. (
https://gerrit.osmocom.org/c/libosmo-sigtran/+/40613?usp=email )
(
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
)Change subject: sccp_scoc_fsm: Fix double free of xua msg
......................................................................
sccp_scoc_fsm: Fix double free of xua msg
The xua msg is already freed 3 lines above.
Fixes: 82c7a3c36c7a3ed282b6684ad71d76ee8e0125dd
Change-Id: If51982fc967f5df89cece532e3b0b64a6bc1987c
---
M src/sccp_scoc_fsm.c
1 file changed, 0 insertions(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
osmith: Looks good to me, approved
diff --git a/src/sccp_scoc_fsm.c b/src/sccp_scoc_fsm.c
index ce186a8..fa3019e 100644
--- a/src/sccp_scoc_fsm.c
+++ b/src/sccp_scoc_fsm.c
@@ -460,7 +460,6 @@
talloc_free(xua);
/* Send RLSD to SCRC */
sccp_conn_xua_gen_relre_and_send(conn, SCCP_RELEASE_CAUSE_INCONSISTENT_CONN_DATA,
NULL);
- talloc_free(xua);
/* Start release timer */
sccp_conn_start_rel_timer(conn);
osmo_fsm_inst_state_chg(fi, S_DISCONN_PEND, 0, 0);
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-sigtran/+/40613?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: If51982fc967f5df89cece532e3b0b64a6bc1987c
Gerrit-Change-Number: 40613
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>