Bug 1233559 - libglusterfs: avoid crash due to ctx being NULL
Summary: libglusterfs: avoid crash due to ctx being NULL
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: libglusterfsclient
Version: 3.7.1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Humble Chirammal
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-19 07:36 UTC by Humble Chirammal
Modified: 2015-07-30 09:50 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.7.3
Clone Of:
Environment:
Last Closed: 2015-07-30 09:50:04 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.