This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16684 ) Change subject: MSC_Tests.ttcn: introduce TC_invalid_id_resp_crash for OS#4340 ...................................................................... MSC_Tests.ttcn: introduce TC_invalid_id_resp_crash for OS#4340 Change-Id: I62f23355eb91df2edf9dc837c928cb86b530b743 Related: OS#4340 --- M msc/MSC_Tests.ttcn 1 file changed, 38 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/84/16684/1 diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn index e2728d3..de4f0a9 100644 --- a/msc/MSC_Tests.ttcn +++ b/msc/MSC_Tests.ttcn @@ -5711,6 +5711,43 @@ vc_conn.done; } +friend function f_tc_invalid_id_resp_crash(charstring id, BSC_ConnHdlrPars pars) +runs on BSC_ConnHdlr { + pars.tmsi := f_rnd_octstring(4); + f_init_handler(pars); + + f_create_gsup_expect(hex2str(g_pars.imsi)); + + /* Initiate Location Updating using an unknown TMSI */ + f_bssap_compl_l3(f_build_lu_tmsi(pars.tmsi)); + + /* Expect an Identity Request, send response with no identity */ + BSSAP.receive(tr_PDU_DTAP_MT(tr_ML3_MT_MM_ID_Req(CM_ID_TYPE_IMSI))); + BSSAP.send(ts_PDU_DTAP_MO(ts_ML3_MO_MM_ID_Rsp({ + lengthIndicator := 0, + mobileIdentityV := { + typeOfIdentity := '000'B, + oddEvenInd_identity := { + no_identity := { + oddevenIndicator := '0'B, + fillerDigits := 'FFFFF'H + } + } + } + }))); + + f_expect_lu_reject(); + f_expect_clear(); +} +testcase TC_invalid_id_resp_crash() runs on MTC_CT { + var BSC_ConnHdlr vc_conn; + + f_init(); + + vc_conn := f_start_handler(refers(f_tc_invalid_id_resp_crash), 7); + vc_conn.done; +} + control { execute( TC_cr_before_reset() ); execute( TC_lu_imsi_noauth_tmsi() ); @@ -5842,6 +5879,7 @@ execute( TC_lu_and_mt_call_osmux() ); } execute( TC_invalid_mgcp_crash() ); + execute( TC_invalid_id_resp_crash() ); } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16684 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I62f23355eb91df2edf9dc837c928cb86b530b743 Gerrit-Change-Number: 16684 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <axilirator at gmail.com> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191228/bfc21d42/attachment.htm>