More secure way to use strncat and strncpy
authorRomain Forlot <romain.forlot@iot.bzh>
Thu, 17 May 2018 00:28:48 +0000 (02:28 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 17 May 2018 00:28:48 +0000 (02:28 +0200)
commitf5f1e251131b6dd54b8f7bb9a31a7ef6e231a947
tree1f3b85660d219ee811b462a69815e560c0006da9
parentbb225251d33fff921cc74df049864c0e4df4a7b1
More secure way to use strncat and strncpy

This ensure not data will be written out of bound
of the destination variable buffer

Change-Id: I4d736855f085fc5f728258c5928fed7191df46b4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
filescan-utils.c