summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorSanoj Unnikrishnan <sunnikri@redhat.com>2016-12-18 17:29:47 +0530
committerAtin Mukherjee <amukherj@redhat.com>2016-12-21 22:42:30 -0800
commit253c43596b9dcf57832a0369b6c4dc01598bd442 (patch)
tree254322cbe19e4f7e25f36fbb3d4c30fc3fb6a22e /extras
parent97bfea234b1c097e7217181e7e6285fbd553d003 (diff)
Fixes GlusterFS process crashes on deep directory hierarchy
alloca() calls to recusive function posix_make_ancestryfromgfid consumes the entire stack leading to segfault. Changed the function to iterative and reused the same linkname buffer across iterations. Change-Id: If065c8b9f7f85219bdd2d23259a115fe66f5f60d BUG: 1405775 Signed-off-by: Sanoj Unnikrishnan <sunnikri@redhat.com> Reviewed-on: http://review.gluster.org/16192 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Raghavendra G <rgowdapp@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions