Osmocom Mobile Switching Centre
Go to file
Neels Hofmeyr 1fe2647c5d ipaccess-config: properly create swload
Instead of 20, use the actual buffer sizes of struct sw_load, which are 255.
Previous code would truncate a longer string at 20 without(!) NUL termination.

In the _len members, store the actual length copied. In previous code, if the
source string were longer than 20, we would store only 20 (without NUL term)
but still reflect the longer length of the source string.

Fix both of these issues for sw_load.file_id / file_id_len and
sw_load.file_version / file_version_len.

Change-Id: I2e34a1348a290d3f58dd830d08da65b94b3270db
2017-05-22 13:28:31 +00:00
contrib build: iu: use libosmo-sccp tag 'old_sua' 2017-04-10 20:57:09 +02:00
debian deb: install python scripts from contrib/ 2017-05-04 13:38:45 +00:00
openbsc ipaccess-config: properly create swload 2017-05-22 13:28:31 +00:00
.gitignore ignore debian build byproducts 2015-03-28 17:13:57 +01:00
.gitreview add .gitreview 2016-05-31 17:43:46 +02:00
.mailmap add .mailmap file for mapping git author name/mail in shortlog 2016-08-08 17:40:28 +00:00