Bug 1233517

Summary: Null pointer dreference in dht_migrate_complete_check_task
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Raghavendra G <rgowdapp>
Component: distributeAssignee: Raghavendra G <rgowdapp>
Status: CLOSED WONTFIX QA Contact: storage-qa-internal <storage-qa-internal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.0CC: bugs, gluster-bugs, nbalacha, nsathyan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1233158 Environment:
Last Closed: 2015-06-23 08:41:51 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:
Bug Depends On: 1233139, 1233158    
Bug Blocks:    

Description Raghavendra G 2015-06-19 05:36:37 UTC
+++ This bug was initially created as a clone of Bug #1233158 +++

+++ This bug was initially created as a clone of Bug #1233139 +++

Description of problem:

        if (gf_uuid_compare (stbuf.ia_gfid, tmp_loc.inode->gfid)) {
		gf_msg (this->name, GF_LOG_ERROR, 0,
                        DHT_MSG_GFID_MISMATCH,
		        "%s: gfid different on the target file on %s",
                        tmp_loc.path, dst_node->name);
                ret = -1;
		local->op_errno = EIO;
                goto out;
	}

        dst_node = dht_subvol_get_cached (this, tmp_loc.inode);

dst_node->name is accessed in the log, but dst_node is assigned later on.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Anand Avati on 2015-06-18 06:57:18 EDT ---

REVIEW: http://review.gluster.org/11313 (cluster/dht: Fix Null pointer dereference while logging) posted (#1) for review on master by Raghavendra G (rgowdapp)

--- Additional comment from Anand Avati on 2015-06-19 01:20:38 EDT ---

REVIEW: http://review.gluster.org/11314 (cluster/dht: Fix Null pointer dereference while logging) posted (#2) for review on release-3.7 by Raghavendra G (rgowdapp)