aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-02-28 13:58:51 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2022-03-01 12:38:58 +0100
commit9b288b788ef400a464f907f7d03ef8fe765f3d90 (patch)
tree2de1f6fd75e570300606d159302432f4744b1619 /doc
parent134ac7e7c8b0481f13cb5ea629755e540476409f (diff)
libgtp: Fix ggsn crash if pdp alloc array is full (PDP_MAX)
osmo-ggsn crashes when concurrent pdp context num 1024 is created, due to the gsn->pdpa array (of size PDP_MAX, 1024) being full. The crash happens because return code of gtp_pdp_newpdp was not checked, and hence a pointer "pdp" pointing to a temporary not-fully-allocated object was being passed to gsn->cb_create_context_ind() callback. Let's avoid crashing and instead reject the PDP context. Related: OS#5469 Change-Id: I0d94ffad97eb4fef477d981bf285bf99740592a3
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions