diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-05-21 12:06:58 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-05-27 13:30:01 +0200 |
commit | 9a2845d491b088cb9e1962ba6dc8af5a4e279401 (patch) | |
tree | 5325ae8955987ab9dc039abe4d2843cfafaa9446 /src/bitvector.h | |
parent | 0e50ce614569b9ae7bcc6e7becc4aeec46e8369d (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 'src/bitvector.h')
0 files changed, 0 insertions, 0 deletions