commit | c1cb75eff5b060da9e6d43521e4913a8bf4e74fc | [log] [tgz] |
---|---|---|
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | Thu Jun 18 13:21:30 2015 +0200 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Fri Jun 19 20:54:28 2015 +0200 |
tree | a7461fe74480669cfaaab74c56ff638e3ca4f671 | |
parent | 2c58197e5d717c5eb24e2b8cecac43c2afdff22a [diff] |
bssgp: Fix IMSI buffer size (Coverity) Currently the size of the IMSI pointer is used instead of the size of the talloc'ed buffer. This commit changes the call to gsm48_mi_to_string to use the same value that has been used with talloc_zero_size(). The length is changed to 17 since that value is used for GSM_IMSI_LENGTH in openbsc. Fixes: Coverity CID 1040663 Sponsored-by: On-Waves ehf