RDKB-37070 - strncpy fails to null-terminate
RDKB-37070 - strncpy fails to null-terminate

Reason for change: Replaced the strncpy function call with snprintf function call
Test Procedure: Build and verified
Risks: Low
Signed-off-by: Gururaaja E S R <gururaja_erodesriranganramlingham@comcast.com>

(cherry picked from commit 94570aed59b0a0b0c6df06803a146fe66b7d9f2b)
Change-Id: I64ef78982f1da7e7ddf1c216f83254002258ffcc

rdkcmf/rdkb-CcspWifiAgent,rdkcmf/rdkb-CcspWifiAgent,rdkcmf/rdkb-CcspWifiAgent