OSDN Git Service

Replace strncpy with strlcpy.
authorAshit Sood <sooda@codeaurora.org>
Thu, 6 Sep 2018 21:10:34 +0000 (14:10 -0700)
committerNivedita Sarkar <nsarkar@codeaurora.org>
Thu, 6 Sep 2018 21:20:23 +0000 (21:20 +0000)
commit169fc260361ab48b5925a0fb513a2e920186fc8b
treea4368e68a3bd23abeb04d910e861de3690a536ce
parentc136355b057e2e4b97381c340790e02aef02d982
Replace strncpy with strlcpy.

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

Bug:73436938

Change-Id: I12d4883c22a180e2136dc8c85bc0394ddcdcb706
libril/ril_service.cpp