[Bugs] [Bug 1252057] New: features/changelog: buffer overrun in changelog-helpers
bugzilla at redhat.com
bugzilla at redhat.com
Mon Aug 10 14:56:34 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1252057
Bug ID: 1252057
Summary: features/changelog: buffer overrun in
changelog-helpers
Product: GlusterFS
Version: 3.7.3
Component: geo-replication
Keywords: Triaged
Severity: urgent
Priority: urgent
Assignee: bugs at gluster.org
Reporter: kkeithle at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com,
prasanna.kalever at redhat.com, rkavunga at redhat.com
Depends On: 1222238
+++ This bug was initially created as a clone of Bug #1222238 +++
Description of problem:
features/changelog: buffer overrun in changelog-helpers
changelog-helpers.c:1911:17: warning: Size argument is greater than the free
space in the destination buffer strncat (result, pre_dir_name,PATH_MAX);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
changelog-helpers.c:1919:17: warning: Size argument is greater than the free
space in the destination buffer strncat (result, bname,PATH_MAX);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Version-Release number of selected component (if applicable):
mainline
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--- Additional comment from Anand Avati on 2015-05-16 15:51:07 EDT ---
REVIEW: http://review.gluster.org/10802 (features/changelog: fix buffer overrun
in changelog-helpers) posted (#1) for review on master by Prasanna Kumar
Kalever
--- Additional comment from Anand Avati on 2015-05-22 02:37:09 EDT ---
REVIEW: http://review.gluster.org/10802 (features/changelog: fix buffer overrun
in changelog-helpers) posted (#2) for review on master by Prasanna Kumar
Kalever
--- Additional comment from Anand Avati on 2015-07-15 01:04:32 EDT ---
COMMIT: http://review.gluster.org/10802 committed in master by Venky Shankar
(vshankar at redhat.com)
------
commit 09530dfd822c8c3cc8da20a4600b5d2aec1ebf9d
Author: Prasanna Kumar Kalever <prasanna.kalever at redhat.com>
Date: Sun May 17 00:26:06 2015 +0530
features/changelog: fix buffer overrun in changelog-helpers
changelog-helpers.c:1911:17: warning: Size argument is greater than the
free
space in the destination buffer strncat (result, pre_dir_name, PATH_MAX);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
changelog-helpers.c:1919:17: warning: Size argument is greater than the
free
space in the destination buffer strncat (result, bname, PATH_MAX);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Change-Id: I60ca7fe762f07cb72fe7b69f0253835becaff7b9
BUG: 1222238
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever at redhat.com>
Reviewed-on: http://review.gluster.org/10802
Tested-by: NetBSD Build System <jenkins at build.gluster.org>
Reviewed-by: Venky Shankar <vshankar at redhat.com>
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1222238
[Bug 1222238] features/changelog: buffer overrun in changelog-helpers
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list