mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
e98ba82d2b07c83592a323d41a9afc702ea50c79
There was a comment in the code that certain GMM messages require a valid mmctx pointer. However, nothing actually checked if that pointer was in fact non-NULL. We plainly crashed if a MS would send us the wrong message in the wrong state. Original patch by Harald Welte, but it broke message validity checking, resulting in sgsn_test failure. This re-implements the NULL check in a different way, as explained by in-code comment. Change-Id: I7908de65bec91599f7042549b832cbbd7ae5a9a8
Description
Osmocom Media Gateway (RTP proxy and RTP/E1 gateway)
Languages
C
95.1%
Python
1.6%
Makefile
1.2%
M4
1%
Shell
1%