summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorSantosh Kumar Pradhan <spradhan@redhat.com>2014-05-14 11:28:15 +0530
committerAnand Avati <avati@redhat.com>2014-05-14 14:54:36 -0700
commita9df8ccbd331e21bcbccf3abc65abe730d6f0489 (patch)
tree5a6f34c872e6f4a251ad0146d90f81a88bc11ee7 /Makefile.am
parent09e9775127c7def49202e68c923e36a6032a3628 (diff)
libglusterfs: Use strncpy() instead of strcpy()
Use secure strncpy() to copy the input data to static buffer and make sure to NULL terminate the copied buffer (if source buffer is longer than static buffer). Change-Id: If3564f1398c8eb92669d4bc92700bbdf6ee2278e BUG: 1097417 Signed-off-by: Santosh Kumar Pradhan <spradhan@redhat.com> Reviewed-on: http://review.gluster.org/7759 Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com> Reviewed-by: Anand Avati <avati@redhat.com> Tested-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions