commit | 9286114f6f9a8b45e620ccf2014ed713c770c9ed | [log] [tgz] |
---|---|---|
author | Philipp Maier <pmaier@sysmocom.de> | Fri Mar 15 09:43:40 2019 +0100 |
committer | Philipp Maier <pmaier@sysmocom.de> | Fri Mar 15 09:51:15 2019 +0100 |
tree | fde728cebf1ccc74f6c0cb5f19317fb8c9357343 | |
parent | 935583069d3d79ba93640df2e9287acdf8c50fe1 [diff] |
silent_call: use osmo_strlcpy() instead of strncpy() If gsm_silent_call_start() is called with an over long string in traffic_dst_ip, then the target string might be left unterminated. Lets use osmo_strlcpy() so that we can be sure the result in scd->traffic_ip is always terminated. Fixes: CID#196068 Change-Id: Ic81842175e412ae7d97d023b612412f33411d60c