osmo-bsc/openbsc/src
Jacob Erlbeck 08fbeb8fa4 gbproxy/sgsn: Enforce termination when creating a P-TMSI/TLLI
Currently the number of iterations when creating a P-TMSI/TLLI is not
limited. It is nevertheless very unlikely that the loop will not
terminate. On the other hand, the number of iterations of every loop
should have an upper bound (loop variant) which wouldn't be the case
here if an arbitrary random generator was used.

This patch limits the number of iterations to 23 and logs an error if
the creation of the indentifier was aborted due to this limit.

Sponsored-by: On-Waves ehf
2014-10-09 17:42:23 +02:00
..
gprs gbproxy/sgsn: Enforce termination when creating a P-TMSI/TLLI 2014-10-09 17:42:23 +02:00
ipaccess adopt recent IPA related symbol rename 2014-08-20 23:47:56 +02:00
libbsc Use port number #defines for VTY and CTRL ports 2014-08-24 17:54:49 +02:00
libcommon move gsm_bts_num() to gsm_data_shared.[ch] 2014-08-24 12:47:12 +02:00
libgb Makefile.am: Use AM_CPPFLAGS 2013-06-12 09:16:27 +02:00
libmgcp mgcp: Count the incoming data instead of the modified one 2014-10-09 17:22:33 +02:00
libmsc nitb: Add subscriber delete command 2014-10-03 09:15:28 +02:00
libtrau trau: Cast to remove compiler warning 2014-07-24 21:09:31 +02:00
osmo-bsc bsc: Let the VTY verify that the timeout is a number 2014-10-02 12:08:29 +02:00
osmo-bsc_mgcp Use port number #defines for VTY and CTRL ports 2014-08-24 17:54:49 +02:00
osmo-bsc_nat mgcp: Move the "codec" params to a struct 2014-09-02 08:25:49 +02:00
osmo-nitb nitb: Don't mention the broken PCAP generation option 2014-09-16 18:13:44 +02:00
utils smpp_mirror: Initialize rc when cmd_id is not DELIVER_SM 2013-12-12 16:20:01 +01:00
Makefile.am move libctrl from openbsc to libosmoctrl (libosmocore.git) 2014-08-21 15:34:28 +02:00