Bug 1233517 - Null pointer dreference in dht_migrate_complete_check_task
Summary: Null pointer dreference in dht_migrate_complete_check_task
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: distribute
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Raghavendra G
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On: 1233139 1233158
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-19 05:36 UTC by Raghavendra G
Modified: 2015-06-23 08:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1233158
Environment:
Last Closed: 2015-06-23 08:41:51 UTC
Embargoed:


Attachments (Terms of Use)

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)


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