Bug 1664647 - dht: Add NULL check for stbuf in dht_rmdir_lookup_cbk
Summary: dht: Add NULL check for stbuf in dht_rmdir_lookup_cbk
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: distribute
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1664529
TreeView+ depends on / blocked
 
Reported: 2019-01-09 11:34 UTC by Susant Kumar Palai
Modified: 2019-03-25 16:33 UTC (History)
1 user (show)

Fixed In Version: glusterfs-6.0
Clone Of:
Environment:
Last Closed: 2019-03-25 16:33:00 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 22004 0 None Merged dht: Add NULL check for stbuf in dht_rmdir_lookup_cbk 2019-01-10 09:48:53 UTC

Description Susant Kumar Palai 2019-01-09 11:34:42 UTC
Description of problem:

In the case of lookup failure, AFR is passing NULL iatt back to dht, which on dereference can result in a crash.

Affected function dht_rmdir_lookup_cbk.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Worker Ant 2019-01-09 11:37:29 UTC
REVIEW: https://review.gluster.org/22004 (dht: Add NULL check for stbuf in dht_rmdir_lookup_cbk) posted (#2) for review on master by Susant Palai

Comment 2 Worker Ant 2019-01-10 09:48:52 UTC
REVIEW: https://review.gluster.org/22004 (dht: Add NULL check for stbuf in dht_rmdir_lookup_cbk) posted (#4) for review on master by Amar Tumballi

Comment 3 Shyamsundar 2019-03-25 16:33:00 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-6.0, please open a new bug report.

glusterfs-6.0 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] https://lists.gluster.org/pipermail/announce/2019-March/000120.html
[2] https://www.gluster.org/pipermail/gluster-users/


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