Bug 1233559

Summary: libglusterfs: avoid crash due to ctx being NULL
Product: [Community] GlusterFS Reporter: Humble Chirammal <hchiramm>
Component: libglusterfsclientAssignee: Humble Chirammal <hchiramm>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.7.1CC: bugs, gluster-bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.7.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-30 09:50:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Humble Chirammal 2015-06-19 07:36:07 UTC
Description of problem:

In many places of libglusterfs code, the ctx dereference happens right after the ctx allocation without checking the filled ctx. This can brings crash.

Version-Release number of selected component (if applicable):

GlusterFS 3.7

How reproducible:

N/A

Steps to Reproduce:

N/A

Actual results:


Expected results:


Additional info:
http://review.gluster.org/#/c/10155/

Comment 1 Niels de Vos 2015-06-23 12:06:29 UTC
Merged http://review.gluster.org/10969

Comment 2 Kaushal 2015-07-30 09:50:04 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.3, please open a new bug report.

glusterfs-3.7.3 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/12078
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user