Oliver Smith 103c11bd24 rx_check_imei_req(): fix IMEI bounds checking
IMEIs (without the checksum) always have 14 digits. Replace the previous
check (length <= 14) with a proper one (length == 14) and set the buffer
to the right size. While at it, add the return code of
gsm48_decode_bc_number2() to the error log message.

I have tested with new TTCN3 tests, that the length check is working
properly now.

Related: OS#2541
Change-Id: I060a8db98fb882e4815d1709a5d85bc0143a73a6
2019-06-11 08:43:49 +02:00
2019-01-24 15:29:08 +00:00
2019-06-04 12:41:54 +02:00
2016-12-21 10:35:38 +01:00
Description
Osmocom HLR for GSUP protocol towards OsmoSGSN and OsmoMSC
7.8 MiB
Languages
C 92.8%
Makefile 2.1%
Python 1.9%
Shell 1.6%
M4 1.1%
Other 0.4%