osmo-gbproxy/openbsc/tests
Neels Hofmeyr a33fce1cb3 Fix MM Auth: zero-initialize auth tuple before first use
Make sure a new auth tuple is initialized after
db_get_lastauthtuple_for_subscr() returns an error, i.e. if no tuple is present
for the subscriber yet.

Before this patch, the first key_seq depended on the typically uninitialized
value that was present in auth tuple's key_seq upon calling
auth_get_tuple_for_subscr().

The very first key_seq used for a new subscriber will now always be 0. Before,
it used to be mostly 1 ("(0 + 1) % 7"), but depended on whether the key_seq was
indeed initialized with 0, actually by random.
2016-03-31 11:56:49 +02:00
..
abis tests/abis: fix format specifiers 2016-01-15 15:41:19 +01:00
bsc bsc_test.c: fix tz.override val and note a FIXME 2016-02-27 23:38:28 +01:00
bsc-nat nat: Forward SDP files with multiple payload types in it 2015-08-13 18:53:10 +02:00
bsc-nat-trie move libctrl from openbsc to libosmoctrl (libosmocore.git) 2014-08-21 15:34:28 +02:00
channel channel_test: don't segfault if paging fails 2016-03-03 16:12:04 +01:00
db Revert "move to hex TMSI representation" 2016-03-17 14:42:24 +01:00
gbproxy gbproxy: Count more GSM 04.08 messages 2015-11-10 09:35:30 +01:00
gprs libcommon: soak up three static functions. 2015-11-02 12:56:40 +01:00
gsm0408 Revert "move to hex TMSI representation" 2016-03-17 14:42:24 +01:00
gtphub gtphub: improve handling of restarted peer. 2015-12-07 13:37:15 +01:00
mgcp mgcp_osmux: available circuit IDs from 0 to 255, not from 0 to 128 2015-11-02 13:26:26 +01:00
mm_auth Fix MM Auth: zero-initialize auth tuple before first use 2016-03-31 11:56:49 +02:00
oap tests/oap: depend on libgtp 2016-01-15 15:06:03 +01:00
sgsn sgsn: Re-add searching for MM ctx based on TLLI / P-TMSI matches 2016-02-22 10:52:08 +01:00
smpp Patch to make openbsc find libsmpp34 2016-02-18 19:39:32 +01:00
subscr msc: Add per subscriber keep_in_ram flag 2014-12-09 09:08:28 +01:00
trau mncc: Complete definitions for all speech traffic frames at MNCC interface 2014-03-20 22:36:16 +01:00
Makefile.am Add MM Auth test; add auth_action_str() function 2016-03-31 11:56:00 +02:00
atlocal.in tests: fix condition to run sgsn, oap, gtphub tests 2015-12-03 11:47:34 +01:00
ctrl_test_runner.py nat: Add a ctrl command to add to an existing ACC list 2015-04-05 15:42:25 +02:00
smpp_test_runner.py nitb/smpp: Add simple test runner for the issues found by daniel 2014-03-06 23:48:17 +01:00
testsuite.at Add MM Auth test; add auth_action_str() function 2016-03-31 11:56:00 +02:00
vty_test_runner.py mgcp: Allow to bind to different ports for net/bts ports 2015-08-20 17:24:03 +02:00