diff options
author | Santosh Kumar Pradhan <spradhan@redhat.com> | 2014-05-14 11:28:15 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2014-05-14 14:54:36 -0700 |
commit | a9df8ccbd331e21bcbccf3abc65abe730d6f0489 (patch) | |
tree | 5a6f34c872e6f4a251ad0146d90f81a88bc11ee7 /Makefile.am | |
parent | 09e9775127c7def49202e68c923e36a6032a3628 (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