layer23: Replace all instances of strncpy() by osmo_strlcpy
commitd4fb4fdea097f0fd1e9f2cd72d0d8a30c91f48bf
authorHarald Welte <laforge@gnumonks.org>
Sat, 11 Aug 2018 12:15:09 +0000 (11 14:15 +0200)
committerHarald Welte <laforge@gnumonks.org>
Sat, 11 Aug 2018 14:10:31 +0000 (11 16:10 +0200)
tree2a76d28f1dfc3ad338cec98d08c66fd1cf826b61
parent1d68468636e789555bee99e1d040b0648d1f02c3
layer23: Replace all instances of strncpy() by osmo_strlcpy

This gives us working/safe zero termination without overflowing
the destination string size.

Change-Id: Ica6098ceba2bd01ce3b216085442cc5eed0ca507
src/host/layer23/src/common/l1l2_interface.c
src/host/layer23/src/common/sap_interface.c
src/host/layer23/src/mobile/gsm411_sms.c
src/host/layer23/src/mobile/gsm480_ss.c
src/host/layer23/src/mobile/mnccms.c
src/host/layer23/src/mobile/subscriber.c
src/host/layer23/src/mobile/vty_interface.c