[Bugs] [Bug 1227677] Glusterd crashes and cannot start after rebalance
bugzilla at redhat.com
bugzilla at redhat.com
Fri Jun 19 01:30:54 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1227677
--- Comment #11 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11091 committed in release-3.7 by Vijay
Bellur (vbellur at redhat.com)
------
commit f56b94d85ae5063ba9eb97c6ed07fc869f0e4b53
Author: Susant Palai <spalai at redhat.com>
Date: Thu Jun 4 22:37:11 2015 +0530
glusterd: Buffer overflow causing crash for glusterd
Backport of http://review.gluster.org/11090
Problem: In GLUSTERD_GET_DEFRAG_PROCESS we are using PATH_MAX (4096)
as the max size of the input for target path, but we have allocated
NAME_MAX (255) size of buffer for the target.
Now this crash is not seen with source, but seen with RPMS.
The reason is _foritfy_fail. This check happens when _FORTIFY_SOURCE
is enabled. This option tries to figure out possible
overflow scenarios like the bug here and does crash the process.
BUG: 1227677
Change-Id: I50cf83cb60c640e46cc7a1a8d3a8321b9147fba9
Signed-off-by: Susant Palai <spalai at redhat.com>
Reviewed-on: http://review.gluster.org/11091
Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Tested-by: NetBSD Build System <jenkins at build.gluster.org>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=c8FsLnP1Hv&a=cc_unsubscribe
More information about the Bugs
mailing list