diff options
author | Kotresh HR <khiremat@redhat.com> | 2014-10-31 07:06:52 +0530 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2014-11-12 23:23:14 -0800 |
commit | b20e6bcce248c286a6bfe6d540905dfc358dbc07 (patch) | |
tree | fa0bcf82a945a4619c7bac600a588d5d6c925427 /geo-replication | |
parent | 085e70e15194c71cdbee6f6683ff7e718558bf1f (diff) |
glusterd/geo-rep: Fix glusterd crash in non-originator slave node.
Problem: glusterd crashes in non-originator slave node during geo-rep
create push-pem.
Cause: In glusterd_op_copy_file, the value of the key "common_pem_contents"
is freed explicitly even after dict_set is successful when it is
taken cared by dict_free.
Solution: Free only in failure cases before dict_set.
BUG: 1159210
Change-Id: I726f923915fc24de6588469c27f2cc996c20c59d
Reviewed-On: http://review.gluster.org/9018/
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Reviewed-on: http://review.gluster.org/9026
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Tested-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'geo-replication')
0 files changed, 0 insertions, 0 deletions