aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/sgsn_auth.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-01-12 13:54:39 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-01-18 13:17:09 +0100
commit1610626fe9e65693c6d8743129b10ed4958ec6ea (patch)
treece22b1cfe754c5f5735defac810decc46c7b7cba /openbsc/src/gprs/sgsn_auth.c
parenta2315eebf972412e122033ac036dd21bcdad5335 (diff)
gprs: Clear GSUP message structures before decoding
Currently the message structure is not cleared before the message is parsed which can cause information leaking between messages if the same gprs_gsup_message object is used. Especially list elements (auth tuples and pdp info) are not replaced by an IE, but the IE is appended. This patch uses the assignment operator to clear gprs_gsup_message, gsm_auth_tuple, and gprs_gsup_pdp_info before using them. This also replaces the use of memcpy of the latter. Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/src/gprs/sgsn_auth.c')
0 files changed, 0 insertions, 0 deletions