summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2015-03-31 09:56:35 +0200
committerVijay Bellur <vbellur@redhat.com>2015-04-02 03:05:39 -0700
commit7616738176f44cce8b6cfb0e1f65be8e1dc72f49 (patch)
tree3343eba1decb8ef78d85cbd8bccdc9308174f24a /xlators/storage/posix
parent7b8637833d2bd07165cd36e6868f4e906dcb7c61 (diff)
libgfdb: fix possible illegal memory access (CID 1288820)
Coverity CID 1288820 strncpy executed with a limit equal to the target array size potentially leaves the target string not null terminated. Make sure the copied string is a valid 0 terminated string. Change-Id: I39ff6a64ca5b9e30562226dd34c5b06267b75b87 BUG: 789278 Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-on: http://review.gluster.org/10063 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Poornima G <pgurusid@redhat.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Joseph Fernandes <josferna@redhat.com> Tested-by: Joseph Fernandes <josferna@redhat.com>
Diffstat (limited to 'xlators/storage/posix')
0 files changed, 0 insertions, 0 deletions