From 206b11705f36d4cc74d80465e77ecc9d74c69405 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Fri, 11 Feb 2011 07:06:52 +0000 Subject: initialize the cli_req structure before sending it to xdr Signed-off-by: Raghavendra Bhat Signed-off-by: Anand V. Avati BUG: 2418 ([glusterfs-3.1.2qa7]: crash in glusterd) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2418 --- xlators/mgmt/glusterd/src/glusterd-handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/mgmt') diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c index b1a7ea81026..5888a2619e6 100644 --- a/xlators/mgmt/glusterd/src/glusterd-handler.c +++ b/xlators/mgmt/glusterd/src/glusterd-handler.c @@ -1336,7 +1336,7 @@ glusterd_handle_gsync_set (rpcsvc_request_t *req) { int32_t ret = 0; dict_t *dict = NULL; - gf1_cli_gsync_set_req cli_req;// = {0, }; + gf1_cli_gsync_set_req cli_req = {{0},}; GF_ASSERT (req); -- cgit