summaryrefslogtreecommitdiffstats
path: root/xlators/features/changetimerecorder/src/changetimerecorder.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2015-03-31 09:50:44 +0200
committerVenky Shankar <vshankar@redhat.com>2015-04-08 08:48:27 +0000
commit2a224653df93c4b3a6b3914509f314196ad61008 (patch)
treef50b9777ca91cfd50155a4b03766f6e5cf3e4b70 /xlators/features/changetimerecorder/src/changetimerecorder.c
parentc262430726635ce868558f299ad494734a173774 (diff)
features/changelog: fix possible illegal memory access (CID 1288819)
Coverity CID 1288819 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: Ie2d2970f37840146aa18724be3b89e93194c8160 BUG: 789278 Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-on: http://review.gluster.org/10062 Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Venky Shankar <vshankar@redhat.com> Tested-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'xlators/features/changetimerecorder/src/changetimerecorder.c')
0 files changed, 0 insertions, 0 deletions