osmo-mgw/include/osmocom/mgcp
Philipp Maier fcd0655176 vty: do not change number_endpoints at runtime
The variable number_endpoints is used as a length indicator
for the array that contains the trunk endpoints at all times.
When osmo-mgw is startet up, the variable is set and osmo-mgw
will allocate the memory for the endpoints. However, it is
still possible to manipulate the variable via the telnet
interface. When the value is increased osmo-mgw might start
using unallocated memory at some point.

Store subsequent changes of number_enspoints in a separate
variable in order to write them to the config file. The
changes will then take effect after a restart.

Closes: OS#2632
Change-Id: I3994af016fb96427263edbba05f560743f85fdd4
2017-11-27 14:38:29 +00:00
..
Makefile.am network: add separate log category 2017-11-02 11:47:44 +01:00
debug.h network: add separate log category 2017-11-02 11:47:44 +01:00
mgcp.h vty: do not change number_endpoints at runtime 2017-11-27 14:38:29 +00:00
mgcp_common.h drop code dup between libosmo-mgcp-client and libosmo-mgcp 2017-10-05 19:32:58 +02:00
mgcp_conn.h Initially implement the new osmo-mgw and libosmo-mgcp 2017-10-05 01:40:43 +00:00
mgcp_ep.h Initially implement the new osmo-mgw and libosmo-mgcp 2017-10-05 01:40:43 +00:00
mgcp_internal.h network: autdetect rtp bind ip-address 2017-11-02 17:16:04 +01:00
mgcp_msg.h Initially implement the new osmo-mgw and libosmo-mgcp 2017-10-05 01:40:43 +00:00
mgcp_sdp.h sdp: refactoring sdp parser/generator 2017-11-02 11:47:44 +01:00
mgcp_stat.h Initially implement the new osmo-mgw and libosmo-mgcp 2017-10-05 01:40:43 +00:00
osmux.h Initially implement the new osmo-mgw and libosmo-mgcp 2017-10-05 01:40:43 +00:00
vty.h create libosmo-mgcp and osmo-mgw by copying legacy code 2017-10-05 01:40:43 +00:00