summaryrefslogtreecommitdiffstats
path: root/tests/include.rc
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendra@redhat.com>2013-01-22 14:09:25 +0530
committerAnand Avati <avati@redhat.com>2013-02-03 14:10:02 -0800
commit212ab59c511e13cc470e623061fcf113456841c8 (patch)
tree4205fea053af93e8f361edb231e46eeb62e7e160 /tests/include.rc
parent4840090c8bf9f08d6da8a4101e2095c6295cf039 (diff)
protocol/server: upon server_connection_put, set xl_private of the transport to
NULL Suppose the get_xlator_by_name returns NULL and the connection is put back then update the xl_private of the transport by setting to NULL. Otherwise server_connection_put would have freed the connection object and xl_private of the transport would still be pointing to the same location which is freed, thus leading to a segfault when the location is accessed. Change-Id: Id47e0edde3073b09765338c730847ba3095df9e2 BUG: 901457 Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com> Reviewed-on: http://review.gluster.org/4411 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'tests/include.rc')
0 files changed, 0 insertions, 0 deletions