aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tbf/TbfTest.ok
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-05-21 12:06:58 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-05-27 13:30:01 +0200
commit9a2845d491b088cb9e1962ba6dc8af5a4e279401 (patch)
tree5325ae8955987ab9dc039abe4d2843cfafaa9446 /tests/tbf/TbfTest.ok
parent0e50ce614569b9ae7bcc6e7becc4aeec46e8369d (diff)
tbf/test: Fix IMSI creation
Currently the generated IMSI contains blanks due to a missing '0' flag in the corresponding snprintf statement. In addition, the buffer is effectively limited to 15 bytes which is shorter than the generated character sequence, such that the last character of the IMSI is removed. This patch fixes both issues. Since snprintf itself will add a terminating \0 character, the whole buffer can be passed to snprintf. Sponsored-by: On-Waves ehf
Diffstat (limited to 'tests/tbf/TbfTest.ok')
0 files changed, 0 insertions, 0 deletions