osmo-bsc/openbsc/src
Neels Hofmeyr eb52aad198 IuPS: properly update ra_id on GMM Attach Request
For new MM contexts, the ra_id was correctly obtained from the ue_ctx, but in
case an MM ctx is re-used and the ra_id changed, the new ra_id was not copied
to the MM context; instead, the ra_id was overwritten with uninitialized data.

Always initialize the local ra_id variable from the ue_ctx->ra_id for Iu
connections; it is used further below to update the ctx->ra_id.

For the case of a brand new Iu MM ctx, the ctx->ra_id then gets initialized a
second time. We could technically drop the init in sgsn_mm_ctx_alloc_iu(), but
it doesn't hurt either way.

Fixes: CID#57936
Change-Id: Ia06458758362e76925690b1757d8ced95e9609e4
2016-11-28 12:09:06 +01:00
..
gprs IuPS: properly update ra_id on GMM Attach Request 2016-11-28 12:09:06 +01:00
ipaccess ipaccess-proxy: Check setsockopt() return value 2016-11-26 17:10:29 +01:00
libbsc bsc_msc.c: Check setsockopt() return value 2016-11-26 17:10:29 +01:00
libcommon Support configuration of CON MO Groups/Paths from VTY 2016-11-13 21:22:29 +01:00
libcommon-cs move to libcommon-cs: gsm48_create_mm_serv_rej(), gsm48_create_loc_upd_rej() 2016-11-24 16:58:31 +01:00
libfilter Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
libiu info log: iu: add line break to and tweak rx RAB Ass Resp log 2016-10-30 18:28:27 +00:00
libmgcp COSMETIC: 'if' is not a function, so there is space before '(' 2016-09-28 00:47:28 +00:00
libmsc Fix possible non-null-terminated buffer 2016-11-26 17:10:29 +01:00
libtrau Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
osmo-bsc move to libcommon-cs: net init 3: actual move 2016-11-24 16:58:31 +01:00
osmo-bsc_mgcp msgb talloc ctx: initialize in all main() scopes 2016-10-13 13:14:41 +00:00
osmo-bsc_nat move to libcommon-cs: gsm48_create_mm_serv_rej(), gsm48_create_loc_upd_rej() 2016-11-24 16:58:31 +01:00
osmo-nitb move to libcommon-cs: net init 3: actual move 2016-11-24 16:58:31 +01:00
utils move to libcommon-cs: net init 3: actual move 2016-11-24 16:58:31 +01:00
Makefile.am Add empty libcommon-cs 2016-11-24 16:58:30 +01:00