change strcpy to strncpy.
authorjaesick.shin <jaesick.shin@samsung.com>
Fri, 2 Sep 2016 06:17:59 +0000 (15:17 +0900)
committerUze Choi <uzchoi@samsung.com>
Fri, 2 Sep 2016 09:30:44 +0000 (09:30 +0000)
commit0d39ddf63b864ed0394ac03722c8f7b881520d15
tree083003e700756c525482b7d32a391011cbda9df4
parent9b3db1d716ebd6c6e9ca2a2edbf8ab032bcc09f7
change strcpy to strncpy.

strcpy function is unsafe.

Change-Id: Ifd679a4b9804861da409d4318b69502992d8ef90
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11327
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
service/notification/unittest/NSProviderTest.cpp