This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via 1fe2647c5de6c460dd776787f039bbc51ed779a0 (commit)
from 5265bea76c90427d70257b7fac0f0b7d40a015cb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=1fe2647c5de6c460dd776787f039bbc5…
commit 1fe2647c5de6c460dd776787f039bbc51ed779a0
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Mar 8 18:30:45 2017 +0100
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
-----------------------------------------------------------------------
Summary of changes:
openbsc/src/ipaccess/ipaccess-config.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)