libril: Replace strncpy with strlcpy.
authorGohulan Balachandran <gohulanb@codeaurora.org>
Thu, 15 Feb 2018 21:12:26 +0000 (13:12 -0800)
committerStricted <info@stricted.net>
Wed, 24 Oct 2018 01:49:38 +0000 (03:49 +0200)
commit22809492469fb3000cba15f1033aa0668f690910
tree2f46bad0d8df67091ace01184bad98655294be2e
parent86d49f768032c9c6528ba057c8e1ab5851e17daf
libril: Replace strncpy with strlcpy.

Use strlcpy instead of strncpy when copying strings to make sure
the copy is always null-terminated.

Change-Id: I12d4883c22a180e2136dc8c85bc0394ddcdcb706
ril/libril/ril_service.cpp